- release_tracks: [ALPHA, GA]
  help_text:
    brief: List backup plans in the project
    description: List backup plans in the project.
    examples: |
      To list backup plans for all locations, run:

      $ {command}

      To list backup plans in a location "my-location", run:

      $ {command} --location=my-location

  request:
    collection: backupdr.projects.locations.backupPlans

  response:
    id_field: name

  arguments:
    resource:
      help_text: Location for which backup plans should be listed.
      spec: !REF googlecloudsdk.command_lib.backupdr.resources:locationDefaultGlobal

  output:
    format: json
# TODO: b/336698260 Update the format to table format
