コード例 #1
0
        /// <summary>Snippet for MutateCustomerUserAccessAsync</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 MutateCustomerUserAccessAsync()
        {
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            CustomerUserAccessOperation operation = new CustomerUserAccessOperation();
            // Make the request
            MutateCustomerUserAccessResponse response = await customerUserAccessServiceClient.MutateCustomerUserAccessAsync(customerId, operation);
        }
コード例 #2
0
        /// <summary>Snippet for MutateCustomerUserAccessAsync</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 MutateCustomerUserAccessRequestObjectAsync()
        {
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateCustomerUserAccessRequest request = new MutateCustomerUserAccessRequest
            {
                CustomerId = "",
                Operation  = new CustomerUserAccessOperation(),
            };
            // Make the request
            MutateCustomerUserAccessResponse response = await customerUserAccessServiceClient.MutateCustomerUserAccessAsync(request);
        }
        /// <summary>Snippet for MutateCustomerUserAccessAsync</summary>
        public async Task MutateCustomerUserAccessAsync()
        {
            // Snippet: MutateCustomerUserAccessAsync(string, CustomerUserAccessOperation, CallSettings)
            // Additional: MutateCustomerUserAccessAsync(string, CustomerUserAccessOperation, CancellationToken)
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            CustomerUserAccessOperation operation = new CustomerUserAccessOperation();
            // Make the request
            MutateCustomerUserAccessResponse response = await customerUserAccessServiceClient.MutateCustomerUserAccessAsync(customerId, operation);

            // End snippet
        }
        /// <summary>Snippet for MutateCustomerUserAccessAsync</summary>
        public async Task MutateCustomerUserAccessRequestObjectAsync()
        {
            // Snippet: MutateCustomerUserAccessAsync(MutateCustomerUserAccessRequest, CallSettings)
            // Additional: MutateCustomerUserAccessAsync(MutateCustomerUserAccessRequest, CancellationToken)
            // Create client
            CustomerUserAccessServiceClient customerUserAccessServiceClient = await CustomerUserAccessServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateCustomerUserAccessRequest request = new MutateCustomerUserAccessRequest
            {
                CustomerId = "",
                Operation  = new CustomerUserAccessOperation(),
            };
            // Make the request
            MutateCustomerUserAccessResponse response = await customerUserAccessServiceClient.MutateCustomerUserAccessAsync(request);

            // End snippet
        }