Esempio n. 1
0
        /// <summary>Snippet for MutateBillingSetupAsync</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 MutateBillingSetupAsync()
        {
            // Create client
            BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            BillingSetupOperation operation = new BillingSetupOperation();
            // Make the request
            MutateBillingSetupResponse response = await billingSetupServiceClient.MutateBillingSetupAsync(customerId, operation);
        }
 /// <summary>Snippet for MutateBillingSetupAsync</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 MutateBillingSetupRequestObjectAsync()
 {
     // Create client
     BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync();
     // Initialize request argument(s)
     MutateBillingSetupRequest request = new MutateBillingSetupRequest
     {
         CustomerId = "",
         Operation = new BillingSetupOperation(),
     };
     // Make the request
     MutateBillingSetupResponse response = await billingSetupServiceClient.MutateBillingSetupAsync(request);
 }
Esempio n. 3
0
        /// <summary>Snippet for MutateBillingSetupAsync</summary>
        public async Task MutateBillingSetupAsync()
        {
            // Snippet: MutateBillingSetupAsync(string, BillingSetupOperation, CallSettings)
            // Additional: MutateBillingSetupAsync(string, BillingSetupOperation, CancellationToken)
            // Create client
            BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            BillingSetupOperation operation = new BillingSetupOperation();
            // Make the request
            MutateBillingSetupResponse response = await billingSetupServiceClient.MutateBillingSetupAsync(customerId, operation);

            // End snippet
        }
Esempio n. 4
0
        /// <summary>Snippet for MutateBillingSetupAsync</summary>
        public async Task MutateBillingSetupRequestObjectAsync()
        {
            // Snippet: MutateBillingSetupAsync(MutateBillingSetupRequest, CallSettings)
            // Additional: MutateBillingSetupAsync(MutateBillingSetupRequest, CancellationToken)
            // Create client
            BillingSetupServiceClient billingSetupServiceClient = await BillingSetupServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateBillingSetupRequest request = new MutateBillingSetupRequest
            {
                CustomerId = "",
                Operation  = new BillingSetupOperation(),
            };
            // Make the request
            MutateBillingSetupResponse response = await billingSetupServiceClient.MutateBillingSetupAsync(request);

            // End snippet
        }