- help_text:
    brief: |
      List Memorystore Redis regions
    description: |
      List all regions where Memorystore Redis API is available.
    examples: |
      To list all the regions where Redis instances can be created, run:

          $ {command}

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.redis.resources:project
      help_text: |
        The project name.

  request:
    api_version: v1
    collection: redis.projects.locations

  response:
    id_field: name

  output:
    format: |
      table(
        locationId:label=NAME:sort=1
      )
