code: @BetaApi
    public final TargetPoolInstanceHealth getHealthTargetPool(
        String targetPool, InstanceReference instanceReferenceResource) {
  
      GetHealthTargetPoolHttpRequest request =
          GetHealthTargetPoolHttpRequest.newBuilder()
              .setTargetPool(targetPool)
              .setInstanceReferenceResource(instanceReferenceResource)
              .build();
      return getHealthTargetPool(request);
    }
docs: Gets the most recent health check results for each IP for the instance that is referenced by
  the given target pool.
  
  <p>Sample code:
  
  <pre><code>
  try (TargetPoolClient targetPoolClient = TargetPoolClient.create()) {
  ProjectRegionTargetPoolName targetPool = ProjectRegionTargetPoolName.of("[PROJECT]", "[REGION]", "[TARGET_POOL]");
  InstanceReference instanceReferenceResource = InstanceReference.newBuilder().build();
  TargetPoolInstanceHealth response = targetPoolClient.getHealthTargetPool(targetPool.toString(), instanceReferenceResource);
  }
  </code></pre>
  
  @param targetPool Name of the TargetPool resource to which the queried instance belongs.
  @param instanceReferenceResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails