/// <summary>Snippet for MutateCustomerUserAccessInvitationAsync</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 MutateCustomerUserAccessInvitationRequestObjectAsync() { // Create client CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync(); // Initialize request argument(s) MutateCustomerUserAccessInvitationRequest request = new MutateCustomerUserAccessInvitationRequest { CustomerId = "", Operation = new CustomerUserAccessInvitationOperation(), }; // Make the request MutateCustomerUserAccessInvitationResponse response = await customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitationAsync(request); }
/// <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 }
/// <summary>Snippet for MutateCustomerUserAccessInvitationAsync</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 MutateCustomerUserAccessInvitationAsync() { // Create client CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; CustomerUserAccessInvitationOperation operation = new CustomerUserAccessInvitationOperation(); // Make the request MutateCustomerUserAccessInvitationResponse response = await customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitationAsync(customerId, operation); }
/// <summary>Snippet for GetCustomerUserAccessInvitationAsync</summary> public async Task GetCustomerUserAccessInvitationRequestObjectAsync() { // Snippet: GetCustomerUserAccessInvitationAsync(GetCustomerUserAccessInvitationRequest, CallSettings) // Additional: GetCustomerUserAccessInvitationAsync(GetCustomerUserAccessInvitationRequest, CancellationToken) // 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); // End snippet }
/// <summary>Snippet for MutateCustomerUserAccessInvitationAsync</summary> public async Task MutateCustomerUserAccessInvitationAsync() { // Snippet: MutateCustomerUserAccessInvitationAsync(string, CustomerUserAccessInvitationOperation, CallSettings) // Additional: MutateCustomerUserAccessInvitationAsync(string, CustomerUserAccessInvitationOperation, CancellationToken) // Create client CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; CustomerUserAccessInvitationOperation operation = new CustomerUserAccessInvitationOperation(); // Make the request MutateCustomerUserAccessInvitationResponse response = await customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitationAsync(customerId, operation); // End snippet }
/// <summary>Snippet for MutateCustomerUserAccessInvitationAsync</summary> public async Task MutateCustomerUserAccessInvitationRequestObjectAsync() { // Snippet: MutateCustomerUserAccessInvitationAsync(MutateCustomerUserAccessInvitationRequest, CallSettings) // Additional: MutateCustomerUserAccessInvitationAsync(MutateCustomerUserAccessInvitationRequest, CancellationToken) // Create client CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient = await CustomerUserAccessInvitationServiceClient.CreateAsync(); // Initialize request argument(s) MutateCustomerUserAccessInvitationRequest request = new MutateCustomerUserAccessInvitationRequest { CustomerId = "", Operation = new CustomerUserAccessInvitationOperation(), }; // Make the request MutateCustomerUserAccessInvitationResponse response = await customerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitationAsync(request); // End snippet }
/// <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); }
/// <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 GetCustomerUserAccessInvitationAsync() { // 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); }