/// <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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for MutateCustomerUserAccessInvitation</summary>
 public void MutateCustomerUserAccessInvitation()
 {
     // Snippet: MutateCustomerUserAccessInvitation(string, CustomerUserAccessInvitationOperation, CallSettings)
     // Create client
     CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = CustomerUserAccessInvitationServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     CustomerUserAccessInvitationOperation operation = new CustomerUserAccessInvitationOperation();
     // Make the request
     MutateCustomerUserAccessInvitationResponse response = customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitation(customerId, operation);
     // End snippet
 }
Ejemplo n.º 4
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
 }
Ejemplo n.º 5
0
 /// <summary>Snippet for MutateCustomerUserAccessInvitation</summary>
 public void MutateCustomerUserAccessInvitationRequestObject()
 {
     // Snippet: MutateCustomerUserAccessInvitation(MutateCustomerUserAccessInvitationRequest, CallSettings)
     // Create client
     CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = CustomerUserAccessInvitationServiceClient.Create();
     // Initialize request argument(s)
     MutateCustomerUserAccessInvitationRequest request = new MutateCustomerUserAccessInvitationRequest
     {
         CustomerId = "",
         Operation  = new CustomerUserAccessInvitationOperation(),
     };
     // Make the request
     MutateCustomerUserAccessInvitationResponse response = customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitation(request);
     // End snippet
 }