/// <summary>Snippet for MutateCampaignSharedSetsAsync</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 MutateCampaignSharedSetsAsync() { // Create client CampaignSharedSetServiceClient campaignSharedSetServiceClient = await CampaignSharedSetServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <CampaignSharedSetOperation> operations = new CampaignSharedSetOperation[] { new CampaignSharedSetOperation(), }; // Make the request MutateCampaignSharedSetsResponse response = await campaignSharedSetServiceClient.MutateCampaignSharedSetsAsync(customerId, operations); }
/// <summary>Snippet for MutateCampaignSharedSetsAsync</summary> public async Task MutateCampaignSharedSetsAsync() { // Snippet: MutateCampaignSharedSetsAsync(string, IEnumerable<CampaignSharedSetOperation>, CallSettings) // Additional: MutateCampaignSharedSetsAsync(string, IEnumerable<CampaignSharedSetOperation>, CancellationToken) // Create client CampaignSharedSetServiceClient campaignSharedSetServiceClient = await CampaignSharedSetServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <CampaignSharedSetOperation> operations = new CampaignSharedSetOperation[] { new CampaignSharedSetOperation(), }; // Make the request MutateCampaignSharedSetsResponse response = await campaignSharedSetServiceClient.MutateCampaignSharedSetsAsync(customerId, operations); // End snippet }
/// <summary>Snippet for MutateCampaignSharedSetsAsync</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 MutateCampaignSharedSetsRequestObjectAsync() { // Create client CampaignSharedSetServiceClient campaignSharedSetServiceClient = await CampaignSharedSetServiceClient.CreateAsync(); // Initialize request argument(s) MutateCampaignSharedSetsRequest request = new MutateCampaignSharedSetsRequest { CustomerId = "", Operations = { new CampaignSharedSetOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateCampaignSharedSetsResponse response = await campaignSharedSetServiceClient.MutateCampaignSharedSetsAsync(request); }
/// <summary>Snippet for MutateCampaignSharedSetsAsync</summary> public async Task MutateCampaignSharedSetsRequestObjectAsync() { // Snippet: MutateCampaignSharedSetsAsync(MutateCampaignSharedSetsRequest, CallSettings) // Additional: MutateCampaignSharedSetsAsync(MutateCampaignSharedSetsRequest, CancellationToken) // Create client CampaignSharedSetServiceClient campaignSharedSetServiceClient = await CampaignSharedSetServiceClient.CreateAsync(); // Initialize request argument(s) MutateCampaignSharedSetsRequest request = new MutateCampaignSharedSetsRequest { CustomerId = "", Operations = { new CampaignSharedSetOperation(), }, PartialFailure = false, ValidateOnly = false, ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified, }; // Make the request MutateCampaignSharedSetsResponse response = await campaignSharedSetServiceClient.MutateCampaignSharedSetsAsync(request); // End snippet }