예제 #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     RegionHealthChecksClient regionHealthChecksClient = RegionHealthChecksClient.Create();
     // Initialize request argument(s)
     string project     = "";
     string region      = "";
     string healthCheck = "";
     // Make the request
     HealthCheck response = regionHealthChecksClient.Get(project, region, healthCheck);
     // End snippet
 }
예제 #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetRegionHealthCheckRequest, CallSettings)
     // Create client
     RegionHealthChecksClient regionHealthChecksClient = RegionHealthChecksClient.Create();
     // Initialize request argument(s)
     GetRegionHealthCheckRequest request = new GetRegionHealthCheckRequest
     {
         Region      = "",
         Project     = "",
         HealthCheck = "",
     };
     // Make the request
     HealthCheck response = regionHealthChecksClient.Get(request);
     // End snippet
 }