target.apidocs.com.google.api.services.compute.Compute.TargetVpnGateways.html Maven / Gradle / Ivy
Compute.TargetVpnGateways (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.TargetVpnGateways
- java.lang.Object
-
- com.google.api.services.compute.Compute.TargetVpnGateways
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
TargetVpnGateways()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
aggregatedList
public Compute.TargetVpnGateways.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of target VPN gateways.
Create a request for the method "targetVpnGateways.aggregatedList".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.TargetVpnGateways.Delete delete(String project,
String region,
String targetVpnGateway)
throws IOException
Deletes the specified target VPN gateway.
Create a request for the method "targetVpnGateways.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region for this request.
targetVpnGateway
- Name of the target VPN gateway to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.TargetVpnGateways.Get get(String project,
String region,
String targetVpnGateway)
throws IOException
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making
a list() request.
Create a request for the method "targetVpnGateways.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region for this request.
targetVpnGateway
- Name of the target VPN gateway to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.TargetVpnGateways.Insert insert(String project,
String region,
TargetVpnGateway content)
throws IOException
Creates a target VPN gateway in the specified project and region using the data included in the
request.
Create a request for the method "targetVpnGateways.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region for this request.
content
- the TargetVpnGateway
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.TargetVpnGateways.List list(String project,
String region)
throws IOException
Retrieves a list of target VPN gateways available to the specified project and region.
Create a request for the method "targetVpnGateways.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region for this request.
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.TargetVpnGateways.SetLabels setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
throws IOException
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "targetVpnGateways.setLabels".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- The region for this request.
resource
- Name or id of the resource for this request.
content
- the RegionSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.TargetVpnGateways.TestIamPermissions testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "targetVpnGateways.testIamPermissions".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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 TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy