| Modifier and Type | Class and Description |
|---|---|
class |
Compute.TargetVpnGateways.AggregatedList |
class |
Compute.TargetVpnGateways.Delete |
class |
Compute.TargetVpnGateways.Get |
class |
Compute.TargetVpnGateways.Insert |
class |
Compute.TargetVpnGateways.List |
class |
Compute.TargetVpnGateways.SetLabels |
class |
Compute.TargetVpnGateways.TestIamPermissions |
| Constructor and Description |
|---|
TargetVpnGateways() |
| Modifier and Type | Method and Description |
|---|---|
Compute.TargetVpnGateways.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of target VPN gateways.
|
Compute.TargetVpnGateways.Delete |
delete(String project,
String region,
String targetVpnGateway)
Deletes the specified target VPN gateway.
|
Compute.TargetVpnGateways.Get |
get(String project,
String region,
String targetVpnGateway)
Returns the specified target VPN gateway.
|
Compute.TargetVpnGateways.Insert |
insert(String project,
String region,
TargetVpnGateway content)
Creates a target VPN gateway in the specified project and region using the data included in the
request.
|
Compute.TargetVpnGateways.List |
list(String project,
String region)
Retrieves a list of target VPN gateways available to the specified project and region.
|
Compute.TargetVpnGateways.SetLabels |
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on a TargetVpnGateway.
|
Compute.TargetVpnGateways.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.TargetVpnGateways.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.TargetVpnGateways.Delete delete(String project, String region, String targetVpnGateway) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.targetVpnGateway - Name of the target VPN gateway to delete.IOExceptionpublic Compute.TargetVpnGateways.Get get(String project, String region, String targetVpnGateway) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.targetVpnGateway - Name of the target VPN gateway to return.IOExceptionpublic Compute.TargetVpnGateways.Insert insert(String project, String region, TargetVpnGateway content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.content - the TargetVpnGatewayIOExceptionpublic Compute.TargetVpnGateways.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.IOExceptionpublic Compute.TargetVpnGateways.SetLabels setLabels(String project, String region, String resource, RegionSetLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The region for this request.resource - Name or id of the resource for this request.content - the RegionSetLabelsRequestIOExceptionpublic Compute.TargetVpnGateways.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.