code: @BetaApi
    public final Operation addHealthCheckTargetPool(
        String targetPool,
        TargetPoolsAddHealthCheckRequest targetPoolsAddHealthCheckRequestResource) {
  
      AddHealthCheckTargetPoolHttpRequest request =
          AddHealthCheckTargetPoolHttpRequest.newBuilder()
              .setTargetPool(targetPool)
              .setTargetPoolsAddHealthCheckRequestResource(targetPoolsAddHealthCheckRequestResource)
              .build();
      return addHealthCheckTargetPool(request);
    }
docs: Adds health check URLs to a target pool.
  
  <p>Sample code:
  
  <pre><code>
  try (TargetPoolClient targetPoolClient = TargetPoolClient.create()) {
  ProjectRegionTargetPoolName targetPool = ProjectRegionTargetPoolName.of("[PROJECT]", "[REGION]", "[TARGET_POOL]");
  TargetPoolsAddHealthCheckRequest targetPoolsAddHealthCheckRequestResource = TargetPoolsAddHealthCheckRequest.newBuilder().build();
  Operation response = targetPoolClient.addHealthCheckTargetPool(targetPool.toString(), targetPoolsAddHealthCheckRequestResource);
  }
  </code></pre>
  
  @param targetPool Name of the target pool to add a health check to.
  @param targetPoolsAddHealthCheckRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails