Class ProjectsResource.LocationsResource.NetworkPeeringsResource
The "networkPeerings" collection of methods.
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NetworkPeeringsResource
Constructors
NetworkPeeringsResource(IClientService)
Constructs a new resource.
Declaration
public NetworkPeeringsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
PeeringRoutes
Gets the PeeringRoutes resource.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.PeeringRoutesResource PeeringRoutes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworkPeeringsResource.PeeringRoutesResource |
Methods
Create(NetworkPeering, string)
Creates a new network peering between the peer network and VMware Engine network provided in a
NetworkPeering
resource. NetworkPeering is a global resource and location can only be global.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.CreateRequest Create(NetworkPeering body, string parent)
Parameters
Type | Name | Description |
---|---|---|
NetworkPeering | body | The body of the request. |
string | parent | Required. The resource name of the location to create the new network peering in. This value is
always |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworkPeeringsResource.CreateRequest |
Delete(string)
Deletes a NetworkPeering
resource. When a network peering is deleted for a VMware Engine network,
the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global
resource and location can only be global.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the network peering 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.NetworkPeeringsResource.DeleteRequest |
Get(string)
Retrieves a NetworkPeering
resource by its resource name. The resource contains details of the
network peering, such as peered networks, import and export custom route configurations, and peering
state. NetworkPeering is a global resource and location can only be global.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the network peering 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.NetworkPeeringsResource.GetRequest |
List(string)
Lists NetworkPeering
resources in a given project. NetworkPeering is a global resource and
location can only be global.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the location (global) to query for network peerings. 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.NetworkPeeringsResource.ListRequest |
Patch(NetworkPeering, string)
Modifies a NetworkPeering
resource. Only the description
field can be updated. Only fields
specified in updateMask
are applied. NetworkPeering is a global resource and location can only be
global.
Declaration
public virtual ProjectsResource.LocationsResource.NetworkPeeringsResource.PatchRequest Patch(NetworkPeering body, string name)
Parameters
Type | Name | Description |
---|---|---|
NetworkPeering | body | The body of the request. |
string | name | Output only. Identifier. The resource name of the network peering. NetworkPeering is a global
resource and location can only be global. Resource names are scheme-less URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NetworkPeeringsResource.PatchRequest |