/// <summary>Snippet for GetAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetAccountLinkResourceNames() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER_ID]", "[ACCOUNT_LINK_ID]"); // Make the request AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName); }
/// <summary>Snippet for GetAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetAccountLink() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/accountLinks/[ACCOUNT_LINK]"; // Make the request AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName); }
/// <summary>Snippet for GetAccountLinkAsync</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 GetAccountLinkAsync() { // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/accountLinks/[ACCOUNT_LINK_ID]"; // Make the request AccountLink response = await accountLinkServiceClient.GetAccountLinkAsync(resourceName); }
/// <summary>Snippet for MutateAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void MutateAccountLink() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) string customerId = ""; AccountLinkOperation operation = new AccountLinkOperation(); // Make the request MutateAccountLinkResponse response = accountLinkServiceClient.MutateAccountLink(customerId, operation); }
/// <summary>Snippet for GetAccountLinkAsync</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 GetAccountLinkResourceNamesAsync() { // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]"); // Make the request AccountLink response = await accountLinkServiceClient.GetAccountLinkAsync(resourceName); }
/// <summary>Snippet for CreateAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void CreateAccountLink() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) string customerId = ""; AccountLink accountLink = new AccountLink(); // Make the request CreateAccountLinkResponse response = accountLinkServiceClient.CreateAccountLink(customerId, accountLink); }
/// <summary>Snippet for GetAccountLink</summary> public void GetAccountLinkResourceNames() { // Snippet: GetAccountLink(AccountLinkName, CallSettings) // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]"); // Make the request AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName); // End snippet }
/// <summary>Snippet for CreateAccountLinkAsync</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 CreateAccountLinkAsync() { // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; AccountLink accountLink = new AccountLink(); // Make the request CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(customerId, accountLink); }
/// <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); }
/// <summary>Snippet for GetAccountLink</summary> public void GetAccountLink() { // Snippet: GetAccountLink(string, CallSettings) // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/accountLinks/[ACCOUNT_LINK_ID]"; // Make the request AccountLink response = accountLinkServiceClient.GetAccountLink(resourceName); // End snippet }
/// <summary>Snippet for GetAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetAccountLinkRequestObject() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) GetAccountLinkRequest request = new GetAccountLinkRequest { ResourceNameAsAccountLinkName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]"), }; // Make the request AccountLink response = accountLinkServiceClient.GetAccountLink(request); }
/// <summary>Snippet for CreateAccountLink</summary> public void CreateAccountLink() { // Snippet: CreateAccountLink(string, AccountLink, CallSettings) // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) string customerId = ""; AccountLink accountLink = new AccountLink(); // Make the request CreateAccountLinkResponse response = accountLinkServiceClient.CreateAccountLink(customerId, accountLink); // End snippet }
/// <summary>Snippet for GetAccountLinkAsync</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 GetAccountLinkRequestObjectAsync() { // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) GetAccountLinkRequest request = new GetAccountLinkRequest { ResourceNameAsAccountLinkName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER_ID]", "[ACCOUNT_LINK_ID]"), }; // Make the request AccountLink response = await accountLinkServiceClient.GetAccountLinkAsync(request); }
/// <summary>Snippet for CreateAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void CreateAccountLinkRequestObject() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) CreateAccountLinkRequest request = new CreateAccountLinkRequest { CustomerId = "", AccountLink = new AccountLink(), }; // Make the request CreateAccountLinkResponse response = accountLinkServiceClient.CreateAccountLink(request); }
/// <summary>Snippet for GetAccountLinkAsync</summary> public async Task GetAccountLinkAsync() { // Snippet: GetAccountLinkAsync(string, CallSettings) // Additional: GetAccountLinkAsync(string, CancellationToken) // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/accountLinks/[ACCOUNT_LINK]"; // Make the request AccountLink response = await accountLinkServiceClient.GetAccountLinkAsync(resourceName); // End snippet }
/// <summary>Snippet for CreateAccountLinkAsync</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 CreateAccountLinkRequestObjectAsync() { // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) CreateAccountLinkRequest request = new CreateAccountLinkRequest { CustomerId = "", AccountLink = new AccountLink(), }; // Make the request CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(request); }
/// <summary>Snippet for GetAccountLinkAsync</summary> public async Task GetAccountLinkResourceNamesAsync() { // Snippet: GetAccountLinkAsync(AccountLinkName, CallSettings) // Additional: GetAccountLinkAsync(AccountLinkName, CancellationToken) // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) AccountLinkName resourceName = AccountLinkName.FromCustomerAccountLink("[CUSTOMER]", "[ACCOUNT_LINK]"); // Make the request AccountLink response = await accountLinkServiceClient.GetAccountLinkAsync(resourceName); // End snippet }
/// <summary>Snippet for MutateAccountLink</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void MutateAccountLinkRequestObject() { // Create client AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.Create(); // Initialize request argument(s) MutateAccountLinkRequest request = new MutateAccountLinkRequest { CustomerId = "", Operation = new AccountLinkOperation(), PartialFailure = false, ValidateOnly = false, }; // Make the request MutateAccountLinkResponse response = accountLinkServiceClient.MutateAccountLink(request); }
/// <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 CreateAccountLinkAsync</summary> public async Task CreateAccountLinkRequestObjectAsync() { // Snippet: CreateAccountLinkAsync(CreateAccountLinkRequest, CallSettings) // Additional: CreateAccountLinkAsync(CreateAccountLinkRequest, CancellationToken) // Create client AccountLinkServiceClient accountLinkServiceClient = await AccountLinkServiceClient.CreateAsync(); // Initialize request argument(s) CreateAccountLinkRequest request = new CreateAccountLinkRequest { CustomerId = "", AccountLink = new AccountLink(), }; // Make the request CreateAccountLinkResponse response = await accountLinkServiceClient.CreateAccountLinkAsync(request); // End snippet }
/// <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 }