code: @BetaApi
    public final HealthCheck getHealthCheck(ProjectGlobalHealthCheckName healthCheck) {
  
      GetHealthCheckHttpRequest request =
          GetHealthCheckHttpRequest.newBuilder()
              .setHealthCheck(healthCheck == null ? null : healthCheck.toString())
              .build();
      return getHealthCheck(request);
    }
docs: Returns the specified HealthCheck resource. Gets a list of available health checks by making a
  list() request.
  
  <p>Sample code:
  
  <pre><code>
  try (HealthCheckClient healthCheckClient = HealthCheckClient.create()) {
  ProjectGlobalHealthCheckName healthCheck = ProjectGlobalHealthCheckName.of("[PROJECT]", "[HEALTH_CHECK]");
  HealthCheck response = healthCheckClient.getHealthCheck(healthCheck);
  }
  </code></pre>
  
  @param healthCheck Name of the HealthCheck resource to return.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails