Class ServicesResource.ConnectionsResource
The "connections" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1beta
Assembly: Google.Apis.ServiceNetworking.v1beta.dll
Syntax
public class ConnectionsResource
Constructors
ConnectionsResource(IClientService)
Constructs a new resource.
Declaration
public ConnectionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Connection, String)
Creates a private connection that establishes a VPC Network Peering connection to a VPC network
in the service producer's organization. The administrator of the service consumer's VPC network invokes
this method. The administrator must assign one or more allocated IP ranges for provisioning subnetworks
in the service producer's VPC network. This connection is used for all supported services in the service
producer's organization, so it only needs to be invoked once. The response from the get operation will
be of type Connection if the operation successfully completes.
Declaration
public virtual ServicesResource.ConnectionsResource.CreateRequest Create(Connection body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Connection | body | The body of the request. |
| System.String | parent | The service that is managing peering connectivity for a service producer's organization. For
Google services that support this functionality, this value is
|
Returns
| Type | Description |
|---|---|
| ServicesResource.ConnectionsResource.CreateRequest |
List(String)
List the private connections that are configured in a service consumer's VPC network.
Declaration
public virtual ServicesResource.ConnectionsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | parent | The service that is managing peering connectivity for a service producer's organization. For
Google services that support this functionality, this value is |
Returns
| Type | Description |
|---|---|
| ServicesResource.ConnectionsResource.ListRequest |