@BetaApi
  public final Operation deleteTargetTcpProxy(String targetTcpProxy) {

    DeleteTargetTcpProxyHttpRequest request =
        DeleteTargetTcpProxyHttpRequest.newBuilder().setTargetTcpProxy(targetTcpProxy).build();
    return deleteTargetTcpProxy(request);
  }
@ BetaApi public final Operation deleteTargetTcpProxy ( String targetTcpProxy ) { DeleteTargetTcpProxyHttpRequest request = DeleteTargetTcpProxyHttpRequest . newBuilder ( ) . setTargetTcpProxy ( targetTcpProxy ) . build ( ) ; return deleteTargetTcpProxy ( request ) ; }
Deletes the specified TargetTcpProxy resource.

<p>Sample code:

<pre><code>
try (TargetTcpProxyClient targetTcpProxyClient = TargetTcpProxyClient.create()) {
ProjectGlobalTargetTcpProxyName targetTcpProxy = ProjectGlobalTargetTcpProxyName.of("[PROJECT]", "[TARGET_TCP_PROXY]");
Operation response = targetTcpProxyClient.deleteTargetTcpProxy(targetTcpProxy.toString());
}
</code></pre>

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