class ServicesConnections extends Resource (View source)

The "connections" collection of methods.

Typical usage is:

 $servicenetworkingService = new Google\Service\ServiceNetworking(...);
 $connections = $servicenetworkingService->services_connections;

Methods

create(string $parent, Connection $postBody, array $optParams = [])

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. (connections.create)

deleteConnection(string $name, DeleteConnectionRequest $postBody, array $optParams = [])

Deletes a private service access connection. (connections.deleteConnection)

listServicesConnections(string $parent, array $optParams = [])

List the private connections that are configured in a service consumer's VPC network. (connections.listServicesConnections)

patch(string $name, Connection $postBody, array $optParams = [])

Updates the allocated ranges that are assigned to a connection.

Details

Operation create(string $parent, Connection $postBody, array $optParams = [])

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. (connections.create)

Parameters

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.

Connection $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation deleteConnection(string $name, DeleteConnectionRequest $postBody, array $optParams = [])

Deletes a private service access connection. (connections.deleteConnection)

Parameters

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.

DeleteConnectionRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

ListConnectionsResponse listServicesConnections(string $parent, array $optParams = [])

List the private connections that are configured in a service consumer's VPC network. (connections.listServicesConnections)

Parameters

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. If you specify services/- as the parameter value, all configured peering services are listed.

array $optParams

Optional parameters.

Return Value

ListConnectionsResponse

Exceptions

Exception

Operation patch(string $name, Connection $postBody, array $optParams = [])

Updates the allocated ranges that are assigned to a connection.

(connections.patch)

Parameters

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.

Connection $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception