project:
  name: project
  collection: redis.projects
  attributes:
  - parameter_name: projectsId
    attribute_name: project
    help: |
      The project name.
    property: core/project

region:
  name: region
  collection: redis.projects.locations
  attributes:
  - &region
    parameter_name: locationsId
    attribute_name: region
    help: |
      The name of the Redis region of the {resource}. Overrides the default
      redis/region property value for this command invocation.
    property: redis/region
  disable_auto_completers: false

region_without_property:
  name: region
  collection: redis.projects.locations
  attributes:
  - parameter_name: locationsId
    attribute_name: region
    help: |
      The name of the Redis region.
  disable_auto_completers: false

operation:
  name: operation
  collection: redis.projects.locations.operations
  attributes:
  - *region
  - parameter_name: operationsId
    attribute_name: operation
    help: The name of the Redis operation.
  disable_auto_completers: false

instance:
  name: instance
  collection: redis.projects.locations.instances
  request_id_field: instanceId
  attributes:
  - *region
  - parameter_name: instancesId
    attribute_name: instance
    help: The name of the Redis instance.
  disable_auto_completers: false

cluster:
  name: cluster
  collection: redis.projects.locations.clusters
  request_id_field: clusterId
  attributes:
  - *region
  - parameter_name: clustersId
    attribute_name: cluster
    help: The name of the Redis cluster
  disable_auto_completers: false

backup_collection:
  name: backup collection
  collection: redis.projects.locations.backupCollections
  request_id_field: backupCollectionId
  attributes:
  - *region
  - parameter_name: backupCollectionsId
    attribute_name: backup-collection
    help: The name of the Redis cluster backup collection.
  disable_auto_completers: false

backup:
  name: backup
  collection: redis.projects.locations.backupCollections.backups
  request_id_field: backupId
  attributes:
  - *region
  - parameter_name: backupCollectionsId
    attribute_name: backup-collection
    help: The name of the Redis cluster backup collection.
  - parameter_name: backupsId
    attribute_name: backup
    help: The name of the Redis cluster backup.
  disable_auto_completers: false
