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