@BetaApi
  public final Operation deleteTargetVpnGateway(String targetVpnGateway) {

    DeleteTargetVpnGatewayHttpRequest request =
        DeleteTargetVpnGatewayHttpRequest.newBuilder()
            .setTargetVpnGateway(targetVpnGateway)
            .build();
    return deleteTargetVpnGateway(request);
  }
@ BetaApi public final Operation deleteTargetVpnGateway ( String targetVpnGateway ) { DeleteTargetVpnGatewayHttpRequest request = DeleteTargetVpnGatewayHttpRequest . newBuilder ( ) . setTargetVpnGateway ( targetVpnGateway ) . build ( ) ; return deleteTargetVpnGateway ( request ) ; }
Deletes the specified target VPN gateway.

<p>Sample code:

<pre><code>
try (TargetVpnGatewayClient targetVpnGatewayClient = TargetVpnGatewayClient.create()) {
ProjectRegionTargetVpnGatewayName targetVpnGateway = ProjectRegionTargetVpnGatewayName.of("[PROJECT]", "[REGION]", "[TARGET_VPN_GATEWAY]");
Operation response = targetVpnGatewayClient.deleteTargetVpnGateway(targetVpnGateway.toString());
}
</code></pre>

@param targetVpnGateway Name of the target VPN gateway to delete.
@throws com.google.api.gax.rpc.ApiException if the remote call fails