![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.Compute.VpnGateways.html Maven / Gradle / Ivy
Compute.VpnGateways (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute
Class Compute.VpnGateways
- java.lang.Object
-
- com.google.api.services.compute.Compute.VpnGateways
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.VpnGateways.AggregatedList
class
Compute.VpnGateways.Delete
class
Compute.VpnGateways.Get
class
Compute.VpnGateways.GetStatus
class
Compute.VpnGateways.Insert
class
Compute.VpnGateways.List
class
Compute.VpnGateways.SetLabels
class
Compute.VpnGateways.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
VpnGateways()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.VpnGateways.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of VPN gateways.
Compute.VpnGateways.Delete
delete(String project,
String region,
String vpnGateway)
Deletes the specified VPN gateway.
Compute.VpnGateways.Get
get(String project,
String region,
String vpnGateway)
Returns the specified VPN gateway.
Compute.VpnGateways.GetStatus
getStatus(String project,
String region,
String vpnGateway)
Returns the status for the specified VPN gateway.
Compute.VpnGateways.Insert
insert(String project,
String region,
VpnGateway content)
Creates a VPN gateway in the specified project and region using the data included in the request.
Compute.VpnGateways.List
list(String project,
String region)
Retrieves a list of VPN gateways available to the specified project and region.
Compute.VpnGateways.SetLabels
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on a VpnGateway.
Compute.VpnGateways.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.VpnGateways.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of VPN gateways.
Create a request for the method "vpnGateways.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.VpnGateways.Delete delete(String project,
String region,
String vpnGateway)
throws IOException
Deletes the specified VPN gateway.
Create a request for the method "vpnGateways.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.
vpnGateway
- Name of the VPN gateway to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.VpnGateways.Get get(String project,
String region,
String vpnGateway)
throws IOException
Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list()
request.
Create a request for the method "vpnGateways.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.
vpnGateway
- Name of the VPN gateway to return.
- Returns:
- the request
- Throws:
IOException
-
getStatus
public Compute.VpnGateways.GetStatus getStatus(String project,
String region,
String vpnGateway)
throws IOException
Returns the status for the specified VPN gateway.
Create a request for the method "vpnGateways.getStatus".
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.
vpnGateway
- Name of the VPN gateway to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.VpnGateways.Insert insert(String project,
String region,
VpnGateway content)
throws IOException
Creates a VPN gateway in the specified project and region using the data included in the request.
Create a request for the method "vpnGateways.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 VpnGateway
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.VpnGateways.List list(String project,
String region)
throws IOException
Retrieves a list of VPN gateways available to the specified project and region.
Create a request for the method "vpnGateways.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.VpnGateways.SetLabels setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
throws IOException
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "vpnGateways.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.VpnGateways.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 "vpnGateways.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–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy