/// <summary>Snippet for MutateAccountLinkAsync</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 MutateAccountLinkAsync()
        {
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            AccountLinkOperation operation = new AccountLinkOperation();
            // Make the request
            MutateAccountLinkResponse response = await accountLinkServiceClient.MutateAccountLinkAsync(customerId, operation);
        }
コード例 #2
0
        /// <summary>Snippet for MutateAccountLinkAsync</summary>
        public async Task MutateAccountLinkAsync()
        {
            // Snippet: MutateAccountLinkAsync(string, AccountLinkOperation, CallSettings)
            // Additional: MutateAccountLinkAsync(string, AccountLinkOperation, CancellationToken)
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            AccountLinkOperation operation = new AccountLinkOperation();
            // Make the request
            MutateAccountLinkResponse response = await accountLinkServiceClient.MutateAccountLinkAsync(customerId, operation);

            // End snippet
        }
        /// <summary>Snippet for MutateAccountLinkAsync</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 MutateAccountLinkRequestObjectAsync()
        {
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateAccountLinkRequest request = new MutateAccountLinkRequest
            {
                CustomerId     = "",
                Operation      = new AccountLinkOperation(),
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateAccountLinkResponse response = await accountLinkServiceClient.MutateAccountLinkAsync(request);
        }
コード例 #4
0
        /// <summary>Snippet for MutateAccountLinkAsync</summary>
        public async Task MutateAccountLinkRequestObjectAsync()
        {
            // Snippet: MutateAccountLinkAsync(MutateAccountLinkRequest, CallSettings)
            // Additional: MutateAccountLinkAsync(MutateAccountLinkRequest, CancellationToken)
            // Create client
            AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateAccountLinkRequest request = new MutateAccountLinkRequest
            {
                CustomerId     = "",
                Operation      = new AccountLinkOperation(),
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateAccountLinkResponse response = await accountLinkServiceClient.MutateAccountLinkAsync(request);

            // End snippet
        }