- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
Required. The parent, which owns this collection of Connections. Format: |
Query parameters
| Parameters | |
|---|---|
pageSize |
Number of results to return in the list. |
pageToken |
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 ( |
| Fields | |
|---|---|
connections[] |
The list of Connections. |
nextPageToken |
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.