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