- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: List the Automations.
    description: |
      List the automations for a specified delivery pipeline.
    examples: |
      To list the automations for delivery pipeline 'test-pipeline' in region 'us-central1', run:

        $ {command} --delivery-pipeline=test-pipeline --region=us-central1

  request:
    collection: clouddeploy.projects.locations.deliveryPipelines.automations
    api_version: v1

  response:
    id_field: name

  arguments:
    resource:
      help_text: The delivery pipeline for which you want to list the automations.
      spec: !REF googlecloudsdk.command_lib.deploy.resources:delivery_pipeline
      is_positional: false
