File: //proc/thread-self/root/snap/google-cloud-cli/current/lib/surface/redis/instances/describe.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: |
      Show metadata for a Memorystore Redis instance.
    description: |
      Show metadata for a Memorystore Redis instance.
      Displays all metadata associated with a Redis instance given a valid
      instance name.
      This command can fail for the following reasons:
        * The instance specified does not exist.
        * The active account does not have permission to access the given
          instance.
    examples: |
      To display the metadata for an instance with the name `my-redis-instance` in the default
      region, run:
        $ {command} my-redis-instance
  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.redis.resources:instance
      help_text: |
        Arguments and flags that specify the Memorystore Redis instance you want
        to describe.
  request:
    ALPHA:
      api_version: v1alpha1
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1
    collection: redis.projects.locations.instances
  response:
    ALPHA:
      modify_response_hooks:
      - googlecloudsdk.command_lib.redis.instances_describe_util:FormatResponse
    BETA:
      modify_response_hooks:
      - googlecloudsdk.command_lib.redis.instances_describe_util:FormatResponse