Class ProjectsResource.LocationsResource.PrivateConnectionsResource
The "privateConnections" collection of methods.
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateConnectionsResource
Constructors
PrivateConnectionsResource(IClientService)
Constructs a new resource.
Declaration
public PrivateConnectionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
PeeringRoutes
Gets the PeeringRoutes resource.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.PeeringRoutesResource PeeringRoutes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.PeeringRoutesResource |
Methods
Create(PrivateConnection, string)
Creates a new private connection that can be used for accessing private Clouds.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.CreateRequest Create(PrivateConnection body, string parent)
Parameters
Type | Name | Description |
---|---|---|
PrivateConnection | body | The body of the request. |
string | 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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.CreateRequest |
Delete(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | 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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.DeleteRequest |
Get(string)
Retrieves a PrivateConnection
resource by its resource name. The resource contains details of the
private connection, such as connected network, routing mode and state.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | 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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.GetRequest |
List(string)
Lists PrivateConnection
resources in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | 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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.ListRequest |
Patch(PrivateConnection, string)
Modifies a PrivateConnection
resource. Only description
and routing_mode
fields can be
updated. Only fields specified in updateMask
are applied.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateConnectionsResource.PatchRequest Patch(PrivateConnection body, string name)
Parameters
Type | Name | Description |
---|---|---|
PrivateConnection | body | The body of the request. |
string | 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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PrivateConnectionsResource.PatchRequest |