/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client RegionOperationsClient regionOperationsClient = await RegionOperationsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string operation = ""; // Make the request Operation response = await regionOperationsClient.GetAsync(project, region, operation); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetRegionOperationRequest, CallSettings) // Additional: GetAsync(GetRegionOperationRequest, CancellationToken) // Create client RegionOperationsClient regionOperationsClient = await RegionOperationsClient.CreateAsync(); // Initialize request argument(s) GetRegionOperationRequest request = new GetRegionOperationRequest { Operation = "", Region = "", Project = "", }; // Make the request Operation response = await regionOperationsClient.GetAsync(request); // End snippet }