File: //snap/google-cloud-cli/396/lib/surface/metastore/services/backups/delete.yaml
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Delete a service backup.
description: |
Delete a backup.
If run asynchronously with `--async`, exits after printing
an operation name that can be used to poll the status of the
deletion via:
{top_command} metastore operations describe
examples: |
To delete a backup named `my-backup` from the service `my-service`, run:
$ {command} my-backup --service=my-service
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
GA:
api_version: v1
collection: metastore.projects.locations.services.backups
method: delete
arguments:
resource:
help_text: Backup to delete.
spec: !REF googlecloudsdk.command_lib.metastore.resources:backup
async:
collection: metastore.projects.locations.operations