/// <summary>Snippet for GetCustomerExtensionSetting</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetCustomerExtensionSettingResourceNames() { // Create client CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = CustomerExtensionSettingServiceClient.Create(); // Initialize request argument(s) CustomerExtensionSettingName resourceName = CustomerExtensionSettingName.FromCustomerExtensionType("[CUSTOMER_ID]", "[EXTENSION_TYPE]"); // Make the request CustomerExtensionSetting response = customerExtensionSettingServiceClient.GetCustomerExtensionSetting(resourceName); }
/// <summary>Snippet for GetCustomerExtensionSettingAsync</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 GetCustomerExtensionSettingRequestObjectAsync() { // Create client CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync(); // Initialize request argument(s) GetCustomerExtensionSettingRequest request = new GetCustomerExtensionSettingRequest { ResourceNameAsCustomerExtensionSettingName = CustomerExtensionSettingName.FromCustomerExtensionType("[CUSTOMER_ID]", "[EXTENSION_TYPE]"), }; // Make the request CustomerExtensionSetting response = await customerExtensionSettingServiceClient.GetCustomerExtensionSettingAsync(request); }
/// <summary>Snippet for GetCustomerExtensionSetting</summary> public void GetCustomerExtensionSettingRequestObject() { // Snippet: GetCustomerExtensionSetting(GetCustomerExtensionSettingRequest, CallSettings) // Create client CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = CustomerExtensionSettingServiceClient.Create(); // Initialize request argument(s) GetCustomerExtensionSettingRequest request = new GetCustomerExtensionSettingRequest { ResourceNameAsCustomerExtensionSettingName = CustomerExtensionSettingName.FromCustomerExtensionType("[CUSTOMER_ID]", "[EXTENSION_TYPE]"), }; // Make the request CustomerExtensionSetting response = customerExtensionSettingServiceClient.GetCustomerExtensionSetting(request); // End snippet }
/// <summary>Snippet for GetCustomerExtensionSettingAsync</summary> public async Task GetCustomerExtensionSettingResourceNamesAsync() { // Snippet: GetCustomerExtensionSettingAsync(CustomerExtensionSettingName, CallSettings) // Additional: GetCustomerExtensionSettingAsync(CustomerExtensionSettingName, CancellationToken) // Create client CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync(); // Initialize request argument(s) CustomerExtensionSettingName resourceName = CustomerExtensionSettingName.FromCustomerExtensionType("[CUSTOMER_ID]", "[EXTENSION_TYPE]"); // Make the request CustomerExtensionSetting response = await customerExtensionSettingServiceClient.GetCustomerExtensionSettingAsync(resourceName); // End snippet }