- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: |
      Delete a Memorystore for Redis Cluster backup.
    description: |
      Delete a Memorystore for Redis Cluster backup.

      This command can fail for the following reasons:
        * The backup specified does not exist.
        * The active account does not have permission to access the given
          backup.
    examples: |
      To delete a backup with the name `my-backup` under backup collection `my-backup-collection`
      in `us-central1` region, run:

      $ {command} my-backup --backup-collection=my-backup-collection --region=us-central1

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.redis.resources:backup
      help_text:
        Arguments and flags that specify the Redis backup you want to delete.

  async:
    collection: redis.projects.locations.operations

  input:
    confirmation_prompt: |
      You are about to delete backup [{__name__}] in [{locationsId}].
      Any associated data will be lost.

  request:
    ALPHA:
      api_version: v1alpha1
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1
    collection: redis.projects.locations.backupCollections.backups
