Method: projects.locations.connections.list

Lists Connections in a given project and location.

HTTP request

GET https://cloudbuild.googleapis.com/v2/{parent=projects/*/locations/*}/connections

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of Connections. Format: projects/*/locations/*.

Query parameters

Parameters
pageSize

integer

Number of results to return in the list.

pageToken

string

Page start.

Request body

The request body must be empty.

Response body

Message for response to listing Connections.

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

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

object (Connection)

The list of Connections.

nextPageToken

string

A token identifying a page of results the server should return.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudbuild.connections.list

For more information, see the IAM documentation.