code: @BetaApi
    public final TargetHttpProxy getTargetHttpProxy(
        ProjectGlobalTargetHttpProxyName targetHttpProxy) {
  
      GetTargetHttpProxyHttpRequest request =
          GetTargetHttpProxyHttpRequest.newBuilder()
              .setTargetHttpProxy(targetHttpProxy == null ? null : targetHttpProxy.toString())
              .build();
      return getTargetHttpProxy(request);
    }
docs: Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by
  making a list() request.
  
  <p>Sample code:
  
  <pre><code>
  try (TargetHttpProxyClient targetHttpProxyClient = TargetHttpProxyClient.create()) {
  ProjectGlobalTargetHttpProxyName targetHttpProxy = ProjectGlobalTargetHttpProxyName.of("[PROJECT]", "[TARGET_HTTP_PROXY]");
  TargetHttpProxy response = targetHttpProxyClient.getTargetHttpProxy(targetHttpProxy);
  }
  </code></pre>
  
  @param targetHttpProxy Name of the TargetHttpProxy resource to return.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails