File: //proc/thread-self/root/snap/google-cloud-cli/396/lib/surface/filestore/backups/delete.yaml
- release_tracks: [GA, BETA, ALPHA]
  help_text:
    brief: |
      Delete a Filestore backup.
    description: |
      Delete a Filestore backup.
      This command can fail for the following reasons:
        * The backup specified does not exist.
        * The active account does not have permission to delete the given
          backup.
    examples: |
      The following command deletes a backup with the name 'my-backup' in the region
      us-central1:
        $ {command} my-backup --region=us-central1
  arguments:
    params:
    - arg_name: backup
      required: true
      is_positional: true
      help_text: |
        Arguments and flags that specify the Filestore backup you want to
        delete.
    - arg_name: region
      required: true
      help_text: |
        Compute region (e.g. us-central1) for the backup.
  async:
    collection: file.projects.locations.operations
    request_issued_message: |-
      Delete request issued
  input:
    confirmation_prompt: |
      You are about to delete a backup
  request:
    ALPHA:
      api_version: v1p1alpha1
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1
    display_resource_type: backup
    collection: file.projects.locations.backups
    disable_resource_check: true
    modify_request_hooks:
    - googlecloudsdk.command_lib.filestore.backups.util:FormatBackupAccessRequest