Class ServicesResource.ConnectionsResource
The "connections" collection of methods.
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class ServicesResource.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.
Declaration
public virtual ServicesResource.ConnectionsResource.CreateRequest Create(Connection body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Connection | body | The body of the request. |
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 |
DeleteConnection(DeleteConnectionRequest, string)
Deletes a private service access connection.
Declaration
public virtual ServicesResource.ConnectionsResource.DeleteConnectionRequest DeleteConnection(DeleteConnectionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
DeleteConnectionRequest | body | The body of the request. |
string | name | Required. The private service connection that connects to a service producer organization. The name
includes both the private service name and the VPC network peering name in the format of
|
Returns
Type | Description |
---|---|
ServicesResource.ConnectionsResource.DeleteConnectionRequest |
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 |
---|---|---|
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 |
Patch(Connection, string)
Updates the allocated ranges that are assigned to a connection.
Declaration
public virtual ServicesResource.ConnectionsResource.PatchRequest Patch(Connection body, string name)
Parameters
Type | Name | Description |
---|---|---|
Connection | body | The body of the request. |
string | name | The private service connection that connects to a service producer organization. The name includes both
the private service name and the VPC network peering name in the format of
|
Returns
Type | Description |
---|---|
ServicesResource.ConnectionsResource.PatchRequest |