/// <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 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 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 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 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 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 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 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); }