/// <summary>Snippet for GetApprovalRequestAsync</summary> public async Task GetApprovalRequestAsync() { // Snippet: GetApprovalRequestAsync(string, CallSettings) // Additional: GetApprovalRequestAsync(string, CancellationToken) // Create client AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync(); // Initialize request argument(s) string name = ""; // Make the request ApprovalRequest response = await accessApprovalServiceClient.GetApprovalRequestAsync(name); // End snippet }
/// <summary>Snippet for GetApprovalRequestAsync</summary> public async Task GetApprovalRequestRequestObjectAsync() { // Snippet: GetApprovalRequestAsync(GetApprovalRequestMessage, CallSettings) // Additional: GetApprovalRequestAsync(GetApprovalRequestMessage, CancellationToken) // Create client AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync(); // Initialize request argument(s) GetApprovalRequestMessage request = new GetApprovalRequestMessage { Name = "", }; // Make the request ApprovalRequest response = await accessApprovalServiceClient.GetApprovalRequestAsync(request); // End snippet }