@BetaApi
  public final Operation deleteHealthCheck(String healthCheck) {

    DeleteHealthCheckHttpRequest request =
        DeleteHealthCheckHttpRequest.newBuilder().setHealthCheck(healthCheck).build();
    return deleteHealthCheck(request);
  }
@ BetaApi public final Operation deleteHealthCheck ( String healthCheck ) { DeleteHealthCheckHttpRequest request = DeleteHealthCheckHttpRequest . newBuilder ( ) . setHealthCheck ( healthCheck ) . build ( ) ; return deleteHealthCheck ( request ) ; }
Deletes the specified HealthCheck resource.

<p>Sample code:

<pre><code>
try (HealthCheckClient healthCheckClient = HealthCheckClient.create()) {
ProjectGlobalHealthCheckName healthCheck = ProjectGlobalHealthCheckName.of("[PROJECT]", "[HEALTH_CHECK]");
Operation response = healthCheckClient.deleteHealthCheck(healthCheck.toString());
}
</code></pre>

@param healthCheck Name of the HealthCheck resource to delete.
@throws com.google.api.gax.rpc.ApiException if the remote call fails