Exemple #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, CallSettings)
     // Create client
     HealthChecksClient healthChecksClient = HealthChecksClient.Create();
     // Initialize request argument(s)
     string project     = "";
     string healthCheck = "";
     // Make the request
     HealthCheck response = healthChecksClient.Get(project, healthCheck);
     // End snippet
 }
Exemple #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetHealthCheckRequest, CallSettings)
     // Create client
     HealthChecksClient healthChecksClient = HealthChecksClient.Create();
     // Initialize request argument(s)
     GetHealthCheckRequest request = new GetHealthCheckRequest
     {
         Project     = "",
         HealthCheck = "",
     };
     // Make the request
     HealthCheck response = healthChecksClient.Get(request);
     // End snippet
 }