target.apidocs.com.google.api.services.compute.Compute.TargetVpnGateways.html Maven / Gradle / Ivy
Compute.TargetVpnGateways (Compute Engine API v1-rev20200104-1.30.8)
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
-
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.
-
-
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
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy