@BetaApi
  public final AggregatedListTargetVpnGatewaysPagedResponse aggregatedListTargetVpnGateways(
      String project) {
    AggregatedListTargetVpnGatewaysHttpRequest request =
        AggregatedListTargetVpnGatewaysHttpRequest.newBuilder().setProject(project).build();
    return aggregatedListTargetVpnGateways(request);
  }
@ BetaApi public final AggregatedListTargetVpnGatewaysPagedResponse aggregatedListTargetVpnGateways ( String project ) { AggregatedListTargetVpnGatewaysHttpRequest request = AggregatedListTargetVpnGatewaysHttpRequest . newBuilder ( ) . setProject ( project ) . build ( ) ; return aggregatedListTargetVpnGateways ( request ) ; }
Retrieves an aggregated list of target VPN gateways.

<p>Sample code:

<pre><code>
try (TargetVpnGatewayClient targetVpnGatewayClient = TargetVpnGatewayClient.create()) {
ProjectName project = ProjectName.of("[PROJECT]");
for (TargetVpnGatewaysScopedList element : targetVpnGatewayClient.aggregatedListTargetVpnGateways(project.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param project Project ID for this request.
@throws com.google.api.gax.rpc.ApiException if the remote call fails