HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/google-cloud-sdk/lib/surface/redis/zones/list.yaml
- help_text:
    brief: |
      List Memorystore Redis zones
    description: |
      List all zones where Memorystore Redis API is available.
    examples: |
      To list all the zones where Redis instances can be created, run:

          $ {command}

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.redis.resources:project
      help_text: |
        The project name.
    params:
    - arg_name: region
      help_text: |
        If provided, returns only resources from the given region. Use region
        ID only, not the full URI of the region. This flag is the equivalent
        of: `--filter="region:REGION"`. Run `gcloud topic filters` for more
        information.

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

  response:
    modify_response_hooks:
    - googlecloudsdk.command_lib.redis.zones_util:ExtractZonesFromRegionsListResponse

  output:
    format: |
      table(
        name:label=ZONE:sort=1,
        region
      )