Method: services.connections.list

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

HTTP request

GET https://servicenetworking.googleapis.com/v1/{parent=services/*}/connections

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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.

Authorization requires the following IAM permission on the specified resource parent:

  • servicenetworking.services.get

Query parameters

Parameters
network

string

The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: projects/{project}/global/networks/{network}. {project} is a project number, such as in 12345 that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

ListConnectionsResponse is the response to list peering states for the given service and consumer project.

JSON representation
{
  "connections": [
    {
      object (Connection)
    }
  ]
}
Fields
connections[]

object (Connection)

The list of Connections.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/service.management
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.