/// <summary>Snippet for GetBrand</summary>
 public void GetBrandRequestObject()
 {
     // Snippet: GetBrand(GetBrandRequest, CallSettings)
     // Create client
     IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
     // Initialize request argument(s)
     GetBrandRequest request = new GetBrandRequest {
         Name = "",
     };
     // Make the request
     Brand response = identityAwareProxyOAuthServiceClient.GetBrand(request);
     // End snippet
 }
 /// <summary>Snippet for CreateBrand</summary>
 public void CreateBrandRequestObject()
 {
     // Snippet: CreateBrand(CreateBrandRequest, CallSettings)
     // Create client
     IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
     // Initialize request argument(s)
     CreateBrandRequest request = new CreateBrandRequest
     {
         Parent = "",
         Brand  = new Brand(),
     };
     // Make the request
     Brand response = identityAwareProxyOAuthServiceClient.CreateBrand(request);
     // End snippet
 }
        /// <summary>Snippet for DeleteIdentityAwareProxyClient</summary>
        public void DeleteIdentityAwareProxyClientRequestObject()
        {
            // Snippet: DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest, CallSettings)
            // Create client
            IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
            // Initialize request argument(s)
            DeleteIdentityAwareProxyClientRequest request = new DeleteIdentityAwareProxyClientRequest {
                Name = "",
            };

            // Make the request
            identityAwareProxyOAuthServiceClient.DeleteIdentityAwareProxyClient(request);
            // End snippet
        }
 /// <summary>Snippet for ResetIdentityAwareProxyClientSecret</summary>
 public void ResetIdentityAwareProxyClientSecretRequestObject()
 {
     // Snippet: ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest, CallSettings)
     // Create client
     IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
     // Initialize request argument(s)
     ResetIdentityAwareProxyClientSecretRequest request = new ResetIdentityAwareProxyClientSecretRequest {
         Name = "",
     };
     // Make the request
     IdentityAwareProxyClient response = identityAwareProxyOAuthServiceClient.ResetIdentityAwareProxyClientSecret(request);
     // End snippet
 }
 /// <summary>Snippet for ListBrands</summary>
 public void ListBrandsRequestObject()
 {
     // Snippet: ListBrands(ListBrandsRequest, CallSettings)
     // Create client
     IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
     // Initialize request argument(s)
     ListBrandsRequest request = new ListBrandsRequest {
         Parent = "",
     };
     // Make the request
     ListBrandsResponse response = identityAwareProxyOAuthServiceClient.ListBrands(request);
     // End snippet
 }
        /// <summary>Snippet for ListIdentityAwareProxyClients</summary>
        public void ListIdentityAwareProxyClientsRequestObject()
        {
            // Snippet: ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest, CallSettings)
            // Create client
            IdentityAwareProxyOAuthServiceClient identityAwareProxyOAuthServiceClient = IdentityAwareProxyOAuthServiceClient.Create();
            // Initialize request argument(s)
            ListIdentityAwareProxyClientsRequest request = new ListIdentityAwareProxyClientsRequest {
                Parent = "",
            };
            // Make the request
            PagedEnumerable <ListIdentityAwareProxyClientsResponse, IdentityAwareProxyClient> response = identityAwareProxyOAuthServiceClient.ListIdentityAwareProxyClients(request);

            // Iterate over all response items, lazily performing RPCs as required
            foreach (IdentityAwareProxyClient item in response)
            {
                // Do something with each item
                Console.WriteLine(item);
            }

            // Or iterate over pages (of server-defined size), performing one RPC per page
            foreach (ListIdentityAwareProxyClientsResponse page in response.AsRawResponses())
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
                foreach (IdentityAwareProxyClient item in page)
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
            Page <IdentityAwareProxyClient> singlePage = response.ReadPage(pageSize);

            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
            foreach (IdentityAwareProxyClient item in singlePage)
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;
            // End snippet
        }