/// <summary>Snippet for MutateCustomerExtensionSettingsAsync</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 MutateCustomerExtensionSettingsAsync()
        {
            // Create client
            CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <CustomerExtensionSettingOperation> operations = new CustomerExtensionSettingOperation[]
            {
                new CustomerExtensionSettingOperation(),
            };
            // Make the request
            MutateCustomerExtensionSettingsResponse response = await customerExtensionSettingServiceClient.MutateCustomerExtensionSettingsAsync(customerId, operations);
        }
        /// <summary>Snippet for MutateCustomerExtensionSettingsAsync</summary>
        public async Task MutateCustomerExtensionSettingsAsync()
        {
            // Snippet: MutateCustomerExtensionSettingsAsync(string, IEnumerable<CustomerExtensionSettingOperation>, CallSettings)
            // Additional: MutateCustomerExtensionSettingsAsync(string, IEnumerable<CustomerExtensionSettingOperation>, CancellationToken)
            // Create client
            CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <CustomerExtensionSettingOperation> operations = new CustomerExtensionSettingOperation[]
            {
                new CustomerExtensionSettingOperation(),
            };
            // Make the request
            MutateCustomerExtensionSettingsResponse response = await customerExtensionSettingServiceClient.MutateCustomerExtensionSettingsAsync(customerId, operations);

            // End snippet
        }
Пример #3
0
        /// <summary>Snippet for MutateCustomerExtensionSettingsAsync</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 MutateCustomerExtensionSettingsRequestObjectAsync()
        {
            // Create client
            CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateCustomerExtensionSettingsRequest request = new MutateCustomerExtensionSettingsRequest
            {
                CustomerId = "",
                Operations =
                {
                    new CustomerExtensionSettingOperation(),
                },
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateCustomerExtensionSettingsResponse response = await customerExtensionSettingServiceClient.MutateCustomerExtensionSettingsAsync(request);
        }
Пример #4
0
        /// <summary>Snippet for MutateCustomerExtensionSettingsAsync</summary>
        public async Task MutateCustomerExtensionSettingsRequestObjectAsync()
        {
            // Snippet: MutateCustomerExtensionSettingsAsync(MutateCustomerExtensionSettingsRequest, CallSettings)
            // Additional: MutateCustomerExtensionSettingsAsync(MutateCustomerExtensionSettingsRequest, CancellationToken)
            // Create client
            CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient = await CustomerExtensionSettingServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateCustomerExtensionSettingsRequest request = new MutateCustomerExtensionSettingsRequest
            {
                CustomerId = "",
                Operations =
                {
                    new CustomerExtensionSettingOperation(),
                },
                PartialFailure      = false,
                ValidateOnly        = false,
                ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified,
            };
            // Make the request
            MutateCustomerExtensionSettingsResponse response = await customerExtensionSettingServiceClient.MutateCustomerExtensionSettingsAsync(request);

            // End snippet
        }