/// <summary>Snippet for GetCustomerUserAccessInvitation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomerUserAccessInvitationResourceNames()
 {
     // Create client
     CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = CustomerUserAccessInvitationServiceClient.Create();
     // Initialize request argument(s)
     CustomerUserAccessInvitationName resourceName = CustomerUserAccessInvitationName.FromCustomerInvitation("[CUSTOMER_ID]", "[INVITATION_ID]");
     // Make the request
     CustomerUserAccessInvitation response = customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitation(resourceName);
 }
Exemple #2
0
 /// <summary>Snippet for GetCustomerUserAccessInvitation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCustomerUserAccessInvitation()
 {
     // Create client
     CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = CustomerUserAccessInvitationServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/customerUserAccessInvitations/[INVITATION_ID]";
     // Make the request
     CustomerUserAccessInvitation response = customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitation(resourceName);
 }
        /// <summary>Snippet for GetCustomerUserAccessInvitationAsync</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 GetCustomerUserAccessInvitationRequestObjectAsync()
        {
            // Create client
            CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetCustomerUserAccessInvitationRequest request = new GetCustomerUserAccessInvitationRequest
            {
                ResourceNameAsCustomerUserAccessInvitationName = CustomerUserAccessInvitationName.FromCustomerInvitation("[CUSTOMER_ID]", "[INVITATION_ID]"),
            };
            // Make the request
            CustomerUserAccessInvitation response = await customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitationAsync(request);
        }
Exemple #4
0
        /// <summary>Snippet for GetCustomerUserAccessInvitationAsync</summary>
        public async Task GetCustomerUserAccessInvitationAsync()
        {
            // Snippet: GetCustomerUserAccessInvitationAsync(string, CallSettings)
            // Additional: GetCustomerUserAccessInvitationAsync(string, CancellationToken)
            // Create client
            CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/customerUserAccessInvitations/[INVITATION_ID]";
            // Make the request
            CustomerUserAccessInvitation response = await customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitationAsync(resourceName);

            // End snippet
        }
Exemple #5
0
 /// <summary>Snippet for GetCustomerUserAccessInvitation</summary>
 public void GetCustomerUserAccessInvitationRequestObject()
 {
     // Snippet: GetCustomerUserAccessInvitation(GetCustomerUserAccessInvitationRequest, CallSettings)
     // Create client
     CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = CustomerUserAccessInvitationServiceClient.Create();
     // Initialize request argument(s)
     GetCustomerUserAccessInvitationRequest request = new GetCustomerUserAccessInvitationRequest
     {
         ResourceNameAsCustomerUserAccessInvitationName = CustomerUserAccessInvitationName.FromCustomerInvitation("[CUSTOMER_ID]", "[INVITATION_ID]"),
     };
     // Make the request
     CustomerUserAccessInvitation response = customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitation(request);
     // End snippet
 }
Exemple #6
0
        /// <summary>Snippet for GetCustomerUserAccessInvitationAsync</summary>
        public async Task GetCustomerUserAccessInvitationResourceNamesAsync()
        {
            // Snippet: GetCustomerUserAccessInvitationAsync(CustomerUserAccessInvitationName, CallSettings)
            // Additional: GetCustomerUserAccessInvitationAsync(CustomerUserAccessInvitationName, CancellationToken)
            // Create client
            CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync();

            // Initialize request argument(s)
            CustomerUserAccessInvitationName resourceName = CustomerUserAccessInvitationName.FromCustomerInvitation("[CUSTOMER_ID]", "[INVITATION_ID]");
            // Make the request
            CustomerUserAccessInvitation response = await customerUserAccessInvitationServiceClient.GetCustomerUserAccessInvitationAsync(resourceName);

            // End snippet
        }