/// <summary>Snippet for MutateCustomInterestsAsync</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 MutateCustomInterestsAsync() { // Create client CustomInterestServiceClient customInterestServiceClient = await CustomInterestServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <CustomInterestOperation> operations = new CustomInterestOperation[] { new CustomInterestOperation(), }; // Make the request MutateCustomInterestsResponse response = await customInterestServiceClient.MutateCustomInterestsAsync(customerId, operations); }
/// <summary>Snippet for MutateCustomInterestsAsync</summary> public async Task MutateCustomInterestsAsync() { // Snippet: MutateCustomInterestsAsync(string, IEnumerable<CustomInterestOperation>, CallSettings) // Additional: MutateCustomInterestsAsync(string, IEnumerable<CustomInterestOperation>, CancellationToken) // Create client CustomInterestServiceClient customInterestServiceClient = await CustomInterestServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <CustomInterestOperation> operations = new CustomInterestOperation[] { new CustomInterestOperation(), }; // Make the request MutateCustomInterestsResponse response = await customInterestServiceClient.MutateCustomInterestsAsync(customerId, operations); // End snippet }
/// <summary>Snippet for MutateCustomInterestsAsync</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 MutateCustomInterestsRequestObjectAsync() { // Create client CustomInterestServiceClient customInterestServiceClient = await CustomInterestServiceClient.CreateAsync(); // Initialize request argument(s) MutateCustomInterestsRequest request = new MutateCustomInterestsRequest { CustomerId = "", Operations = { new CustomInterestOperation(), }, ValidateOnly = false, }; // Make the request MutateCustomInterestsResponse response = await customInterestServiceClient.MutateCustomInterestsAsync(request); }
/// <summary>Snippet for MutateCustomInterestsAsync</summary> public async Task MutateCustomInterestsRequestObjectAsync() { // Snippet: MutateCustomInterestsAsync(MutateCustomInterestsRequest, CallSettings) // Additional: MutateCustomInterestsAsync(MutateCustomInterestsRequest, CancellationToken) // Create client CustomInterestServiceClient customInterestServiceClient = await CustomInterestServiceClient.CreateAsync(); // Initialize request argument(s) MutateCustomInterestsRequest request = new MutateCustomInterestsRequest { CustomerId = "", Operations = { new CustomInterestOperation(), }, ValidateOnly = false, }; // Make the request MutateCustomInterestsResponse response = await customInterestServiceClient.MutateCustomInterestsAsync(request); // End snippet }