| Modifier and Type | Class and Description |
|---|---|
class |
Compute.VpnTunnels.AggregatedList |
class |
Compute.VpnTunnels.Delete |
class |
Compute.VpnTunnels.Get |
class |
Compute.VpnTunnels.Insert |
class |
Compute.VpnTunnels.List |
class |
Compute.VpnTunnels.SetLabels |
class |
Compute.VpnTunnels.TestIamPermissions |
| Constructor and Description |
|---|
VpnTunnels() |
| Modifier and Type | Method and Description |
|---|---|
Compute.VpnTunnels.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of VPN tunnels.
|
Compute.VpnTunnels.Delete |
delete(String project,
String region,
String vpnTunnel)
Deletes the specified VpnTunnel resource.
|
Compute.VpnTunnels.Get |
get(String project,
String region,
String vpnTunnel)
Returns the specified VpnTunnel resource.
|
Compute.VpnTunnels.Insert |
insert(String project,
String region,
VpnTunnel content)
Creates a VpnTunnel resource in the specified project and region using the data included in the
request.
|
Compute.VpnTunnels.List |
list(String project,
String region)
Retrieves a list of VpnTunnel resources contained in the specified project and region.
|
Compute.VpnTunnels.SetLabels |
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on a VpnTunnel.
|
Compute.VpnTunnels.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.VpnTunnels.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.VpnTunnels.Delete delete(String project, String region, String vpnTunnel) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.vpnTunnel - Name of the VpnTunnel resource to delete.IOExceptionpublic Compute.VpnTunnels.Get get(String project, String region, String vpnTunnel) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.vpnTunnel - Name of the VpnTunnel resource to return.IOExceptionpublic Compute.VpnTunnels.Insert insert(String project, String region, VpnTunnel 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 VpnTunnelIOExceptionpublic Compute.VpnTunnels.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.VpnTunnels.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.VpnTunnels.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.