Show / Hide Table of Contents

Class ServicesResource.ConnectionsResource

The "connections" collection of methods.

Inheritance
object
ServicesResource.ConnectionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 services/servicenetworking.googleapis.com.

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 services/{peering_service_name}/connections/{vpc_peering_name}. For Google services that support this functionality, this is services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com.

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

Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is services/servicenetworking.googleapis.com. If you specify services/- as the parameter value, all configured peering services are listed.

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 services/{peering_service_name}/connections/{vpc_peering_name}. For Google services that support this functionality, this is services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com.

Returns
Type Description
ServicesResource.ConnectionsResource.PatchRequest
In this article
Back to top Generated by DocFX