File: //snap/google-cloud-cli/current/lib/surface/builds/repositories/list.yaml
- help_text:
brief: List all Cloud Build repositories in a connection.
description: List all Cloud Build repositories in a connection.
examples: |
To list all the repositories in the Cloud Build connection ``my-conn'',
run the following command:
$ {command} --connection=my-conn --region=us-central1
request:
collection: cloudbuild.projects.locations.connections.repositories
api_version: v2
arguments:
resource:
help_text: Cloud Build connection to list all contained repositories.
spec: !REF googlecloudsdk.command_lib.cloudbuild.resources_v2:connection
response:
id_field: name
output:
format: table(name.segment(-1):label=NAME, remote_uri)