- help_text:
    brief: List all Cloud Build connections for a project and region.
    description: List all Cloud Build connections for a project and region.
    examples: |
      To list all the Cloud Build connections in region ``us-central1'',
      run the following command:

      $ {command} --region=us-central1

  request:
    collection: cloudbuild.projects.locations.connections
    api_version: v2

  arguments:
    resource:
      help_text: Cloud Build location to list all contained connections.
      spec: !REF googlecloudsdk.command_lib.cloudbuild.resources_v2:region

  response:
    id_field: name

  output:
    format: table(name.segment(-1):label=NAME, installation_state.stage:label=INSTALLATION_STATE, disabled.yesno("Disabled","Enabled"):label=DISABLED)
