/// <summary>Snippet for MutateMerchantCenterLinkAsync</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 MutateMerchantCenterLinkAsync()
        {
            // Create client
            MerchantCenterLinkServiceClient merchantCenterLinkServiceClient = await MerchantCenterLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            MerchantCenterLinkOperation operation = new MerchantCenterLinkOperation();
            // Make the request
            MutateMerchantCenterLinkResponse response = await merchantCenterLinkServiceClient.MutateMerchantCenterLinkAsync(customerId, operation);
        }
        /// <summary>Snippet for MutateMerchantCenterLinkAsync</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 MutateMerchantCenterLinkRequestObjectAsync()
        {
            // Create client
            MerchantCenterLinkServiceClient merchantCenterLinkServiceClient = await MerchantCenterLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateMerchantCenterLinkRequest request = new MutateMerchantCenterLinkRequest
            {
                CustomerId = "",
                Operation  = new MerchantCenterLinkOperation(),
            };
            // Make the request
            MutateMerchantCenterLinkResponse response = await merchantCenterLinkServiceClient.MutateMerchantCenterLinkAsync(request);
        }
Exemplo n.º 3
0
        /// <summary>Snippet for MutateMerchantCenterLinkAsync</summary>
        public async Task MutateMerchantCenterLinkAsync()
        {
            // Snippet: MutateMerchantCenterLinkAsync(string, MerchantCenterLinkOperation, CallSettings)
            // Additional: MutateMerchantCenterLinkAsync(string, MerchantCenterLinkOperation, CancellationToken)
            // Create client
            MerchantCenterLinkServiceClient merchantCenterLinkServiceClient = await MerchantCenterLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            MerchantCenterLinkOperation operation = new MerchantCenterLinkOperation();
            // Make the request
            MutateMerchantCenterLinkResponse response = await merchantCenterLinkServiceClient.MutateMerchantCenterLinkAsync(customerId, operation);

            // End snippet
        }
        /// <summary>Snippet for MutateMerchantCenterLinkAsync</summary>
        public async Task MutateMerchantCenterLinkRequestObjectAsync()
        {
            // Snippet: MutateMerchantCenterLinkAsync(MutateMerchantCenterLinkRequest, CallSettings)
            // Additional: MutateMerchantCenterLinkAsync(MutateMerchantCenterLinkRequest, CancellationToken)
            // Create client
            MerchantCenterLinkServiceClient merchantCenterLinkServiceClient = await MerchantCenterLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateMerchantCenterLinkRequest request = new MutateMerchantCenterLinkRequest
            {
                CustomerId = "",
                Operation  = new MerchantCenterLinkOperation(),
            };
            // Make the request
            MutateMerchantCenterLinkResponse response = await merchantCenterLinkServiceClient.MutateMerchantCenterLinkAsync(request);

            // End snippet
        }