- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists Repositories in a given connection.
HTTP request
GET https://cloudbuild.googleapis.com/v2/{parent=projects/*/locations/*/connections/*}/repositories
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of Repositories. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
Number of results to return in the list. |
pageToken |
Page start. |
filter |
A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal AIP-160. e.g. |
Request body
The request body must be empty.
Response body
Message for response to listing Repositories.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"repositories": [
{
object ( |
Fields | |
---|---|
repositories[] |
The list of Repositories. |
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.repositories.list
For more information, see the IAM documentation.