/// <summary>Snippet for MutateCustomerLabels</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void MutateCustomerLabels() { // Create client CustomerLabelServiceClient customerLabelServiceClient = CustomerLabelServiceClient.Create(); // Initialize request argument(s) string customerId = ""; IEnumerable <CustomerLabelOperation> operations = new CustomerLabelOperation[] { new CustomerLabelOperation(), }; // Make the request MutateCustomerLabelsResponse response = customerLabelServiceClient.MutateCustomerLabels(customerId, operations); }
/// <summary>Snippet for MutateCustomerLabelsAsync</summary> public async Task MutateCustomerLabelsAsync() { // Snippet: MutateCustomerLabelsAsync(string, IEnumerable<CustomerLabelOperation>, CallSettings) // Additional: MutateCustomerLabelsAsync(string, IEnumerable<CustomerLabelOperation>, CancellationToken) // Create client CustomerLabelServiceClient customerLabelServiceClient = await CustomerLabelServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <CustomerLabelOperation> operations = new CustomerLabelOperation[] { new CustomerLabelOperation(), }; // Make the request MutateCustomerLabelsResponse response = await customerLabelServiceClient.MutateCustomerLabelsAsync(customerId, operations); // End snippet }