target.apidocs.com.google.api.services.compute.Compute.ExternalVpnGateways.html Maven / Gradle / Ivy
Compute.ExternalVpnGateways (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.ExternalVpnGateways
- java.lang.Object
-
- com.google.api.services.compute.Compute.ExternalVpnGateways
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.ExternalVpnGateways.Delete
class
Compute.ExternalVpnGateways.Get
class
Compute.ExternalVpnGateways.Insert
class
Compute.ExternalVpnGateways.List
class
Compute.ExternalVpnGateways.SetLabels
class
Compute.ExternalVpnGateways.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
ExternalVpnGateways()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.ExternalVpnGateways.Delete
delete(String project,
String externalVpnGateway)
Deletes the specified externalVpnGateway.
Compute.ExternalVpnGateways.Get
get(String project,
String externalVpnGateway)
Returns the specified externalVpnGateway.
Compute.ExternalVpnGateways.Insert
insert(String project,
ExternalVpnGateway content)
Creates a ExternalVpnGateway in the specified project using the data included in the request.
Compute.ExternalVpnGateways.List
list(String project)
Retrieves the list of ExternalVpnGateway available to the specified project.
Compute.ExternalVpnGateways.SetLabels
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on an ExternalVpnGateway.
Compute.ExternalVpnGateways.TestIamPermissions
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
delete
public Compute.ExternalVpnGateways.Delete delete(String project,
String externalVpnGateway)
throws IOException
Deletes the specified externalVpnGateway.
Create a request for the method "externalVpnGateways.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.
externalVpnGateway - Name of the externalVpnGateways to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.ExternalVpnGateways.Get get(String project,
String externalVpnGateway)
throws IOException
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a
list() request.
Create a request for the method "externalVpnGateways.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.
externalVpnGateway - Name of the externalVpnGateway to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.ExternalVpnGateways.Insert insert(String project,
ExternalVpnGateway content)
throws IOException
Creates a ExternalVpnGateway in the specified project using the data included in the request.
Create a request for the method "externalVpnGateways.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.
content - the ExternalVpnGateway
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.ExternalVpnGateways.List list(String project)
throws IOException
Retrieves the list of ExternalVpnGateway available to the specified project.
Create a request for the method "externalVpnGateways.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.
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.ExternalVpnGateways.SetLabels setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
throws IOException
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "externalVpnGateways.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.
resource - Name or id of the resource for this request.
content - the GlobalSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.ExternalVpnGateways.TestIamPermissions testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "externalVpnGateways.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.
resource - Name or id of the resource for this request.
content - the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy