code: @BetaApi
    public final Operation patchHealthCheck(
        ProjectGlobalHealthCheckName healthCheck,
        HealthCheck healthCheckResource,
        List<String> fieldMask) {
  
      PatchHealthCheckHttpRequest request =
          PatchHealthCheckHttpRequest.newBuilder()
              .setHealthCheck(healthCheck == null ? null : healthCheck.toString())
              .setHealthCheckResource(healthCheckResource)
              .addAllFieldMask(fieldMask)
              .build();
      return patchHealthCheck(request);
    }
docs: Updates a HealthCheck resource in the specified project using the data included in the request.
  This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
  
  <p>Sample code:
  
  <pre><code>
  try (HealthCheckClient healthCheckClient = HealthCheckClient.create()) {
  ProjectGlobalHealthCheckName healthCheck = ProjectGlobalHealthCheckName.of("[PROJECT]", "[HEALTH_CHECK]");
  HealthCheck healthCheckResource = HealthCheck.newBuilder().build();
  List&lt;String&gt; fieldMask = new ArrayList&lt;&gt;();
  Operation response = healthCheckClient.patchHealthCheck(healthCheck, healthCheckResource, fieldMask);
  }
  </code></pre>
  
  @param healthCheck Name of the HealthCheck resource to patch.
  @param healthCheckResource An HealthCheck resource. This resource defines a template for how
  individual virtual machines should be checked for health, via one of the supported
  protocols.
  @param fieldMask The fields that should be serialized (even if they have empty values). If the
  containing message object has a non-null fieldmask, then all the fields in the field mask
  (and only those fields in the field mask) will be serialized. If the containing object does
  not have a fieldmask, then only non-empty fields will be serialized.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails