/// <summary>Snippet for GetCustomerClientAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetCustomerClientAsync() { // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/customerClients/[CLIENT_CUSTOMER_ID]"; // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(resourceName); }
/// <summary>Snippet for GetCustomerClientAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetCustomerClientResourceNamesAsync() { // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) CustomerClientName resourceName = CustomerClientName.FromCustomerClientCustomer("[CUSTOMER_ID]", "[CLIENT_CUSTOMER_ID]"); // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(resourceName); }
/// <summary>Snippet for GetCustomerClientAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GetCustomerClientRequestObjectAsync() { // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) GetCustomerClientRequest request = new GetCustomerClientRequest { ResourceNameAsCustomerClientName = CustomerClientName.FromCustomerCustomerClient("[CUSTOMER]", "[CUSTOMER_CLIENT]"), }; // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(request); }
/// <summary>Snippet for GetCustomerClientAsync</summary> public async Task GetCustomerClientAsync() { // Snippet: GetCustomerClientAsync(string, CallSettings) // Additional: GetCustomerClientAsync(string, CancellationToken) // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/customerClients/[CLIENT_CUSTOMER_ID]"; // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(resourceName); // End snippet }
/// <summary>Snippet for GetCustomerClientAsync</summary> public async Task GetCustomerClientResourceNamesAsync() { // Snippet: GetCustomerClientAsync(CustomerClientName, CallSettings) // Additional: GetCustomerClientAsync(CustomerClientName, CancellationToken) // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) CustomerClientName resourceName = CustomerClientName.FromCustomerClientCustomer("[CUSTOMER_ID]", "[CLIENT_CUSTOMER_ID]"); // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(resourceName); // End snippet }
/// <summary>Snippet for GetCustomerClientAsync</summary> public async Task GetCustomerClientRequestObjectAsync() { // Snippet: GetCustomerClientAsync(GetCustomerClientRequest, CallSettings) // Additional: GetCustomerClientAsync(GetCustomerClientRequest, CancellationToken) // Create client CustomerClientServiceClient customerClientServiceClient = await CustomerClientServiceClient.CreateAsync(); // Initialize request argument(s) GetCustomerClientRequest request = new GetCustomerClientRequest { ResourceNameAsCustomerClientName = CustomerClientName.FromCustomerCustomerClient("[CUSTOMER]", "[CUSTOMER_CLIENT]"), }; // Make the request CustomerClient response = await customerClientServiceClient.GetCustomerClientAsync(request); // End snippet }