target.apidocs.com.google.api.services.vmwareengine.v1.VMwareEngine.Projects.Locations.PrivateConnections.html Maven / Gradle / Ivy
VMwareEngine.Projects.Locations.PrivateConnections (VMware Engine API v1-rev20240412-2.0.0)
com.google.api.services.vmwareengine.v1
Class VMwareEngine.Projects.Locations.PrivateConnections
- java.lang.Object
-
- com.google.api.services.vmwareengine.v1.VMwareEngine.Projects.Locations.PrivateConnections
-
- Enclosing class:
- VMwareEngine.Projects.Locations
public class VMwareEngine.Projects.Locations.PrivateConnections
extends Object
The "privateConnections" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
VMwareEngine.Projects.Locations.PrivateConnections.Create
class
VMwareEngine.Projects.Locations.PrivateConnections.Delete
class
VMwareEngine.Projects.Locations.PrivateConnections.Get
class
VMwareEngine.Projects.Locations.PrivateConnections.List
class
VMwareEngine.Projects.Locations.PrivateConnections.Patch
class
VMwareEngine.Projects.Locations.PrivateConnections.PeeringRoutes
The "peeringRoutes" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
PrivateConnections()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VMwareEngine.Projects.Locations.PrivateConnections.Create
create(String parent,
PrivateConnection content)
Creates a new private connection that can be used for accessing private Clouds.
VMwareEngine.Projects.Locations.PrivateConnections.Delete
delete(String name)
Deletes a `PrivateConnection` resource.
VMwareEngine.Projects.Locations.PrivateConnections.Get
get(String name)
Retrieves a `PrivateConnection` resource by its resource name.
VMwareEngine.Projects.Locations.PrivateConnections.List
list(String parent)
Lists `PrivateConnection` resources in a given project and location.
VMwareEngine.Projects.Locations.PrivateConnections.Patch
patch(String name,
PrivateConnection content)
Modifies a `PrivateConnection` resource.
VMwareEngine.Projects.Locations.PrivateConnections.PeeringRoutes
peeringRoutes()
An accessor for creating requests from the PeeringRoutes collection.
-
-
Method Detail
-
create
public VMwareEngine.Projects.Locations.PrivateConnections.Create create(String parent,
PrivateConnection content)
throws IOException
Creates a new private connection that can be used for accessing private Clouds.
Create a request for the method "privateConnections.create".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the location to create the new private connection in. Private
connection is a regional resource. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects
/my-project/locations/us-central1`
content
- the PrivateConnection
- Returns:
- the request
- Throws:
IOException
-
delete
public VMwareEngine.Projects.Locations.PrivateConnections.Delete delete(String name)
throws IOException
Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine
network, the connected network becomes inaccessible to that VMware Engine network.
Create a request for the method "privateConnections.delete".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the private connection to be deleted. Resource names are schemeless
URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
- Returns:
- the request
- Throws:
IOException
-
get
public VMwareEngine.Projects.Locations.PrivateConnections.Get get(String name)
throws IOException
Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of
the private connection, such as connected network, routing mode and state.
Create a request for the method "privateConnections.get".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the private connection to retrieve. Resource names are schemeless
URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
- Returns:
- the request
- Throws:
IOException
-
list
public VMwareEngine.Projects.Locations.PrivateConnections.List list(String parent)
throws IOException
Lists `PrivateConnection` resources in a given project and location.
Create a request for the method "privateConnections.list".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the location to query for private connections. Resource names are
schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
project/locations/us-central1`
- Returns:
- the request
- Throws:
IOException
-
patch
public VMwareEngine.Projects.Locations.PrivateConnections.Patch patch(String name,
PrivateConnection content)
throws IOException
Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be
updated. Only fields specified in `updateMask` are applied.
Create a request for the method "privateConnections.patch".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. The resource name of the private connection. Resource names are schemeless URIs that
follow the conventions in https://cloud.google.com/apis/design/resource_names. For
example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
content
- the PrivateConnection
- Returns:
- the request
- Throws:
IOException
-
peeringRoutes
public VMwareEngine.Projects.Locations.PrivateConnections.PeeringRoutes peeringRoutes()
An accessor for creating requests from the PeeringRoutes collection.
The typical use is:
VMwareEngine vmwareengine = new VMwareEngine(...);
VMwareEngine.PeeringRoutes.List request = vmwareengine.peeringRoutes().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy