1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/alpha/firestore/databases/delete

50 lines
1.6 KiB
Text
Raw Normal View History

2023-07-20 11:47:25 +00:00
NAME
gcloud alpha firestore databases delete - delete a Google Cloud Firestore
database
SYNOPSIS
2023-10-11 10:37:28 +00:00
gcloud alpha firestore databases delete --database=DATABASE [--etag=ETAG]
[GCLOUD_WIDE_FLAG ...]
2023-07-20 11:47:25 +00:00
EXAMPLES
To delete a Firestore database test.
$ gcloud alpha firestore databases delete --database=test
To delete the Firestore (default) database.
$ gcloud alpha firestore databases delete --database=(default)
To delete a Firestore database test providing etag.
$ gcloud alpha firestore databases delete --database=test --etag=etag
REQUIRED FLAGS
--database=DATABASE
The database to operate on.
OPTIONAL FLAGS
--etag=ETAG
The current etag of the Database. If an etag is provided and does not
match the current etag of the database, deletion will be blocked and a
FAILED_PRECONDITION error will be returned.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
2024-01-10 10:17:49 +00:00
access allowlist. These variants are also available:
$ gcloud firestore databases delete
2023-11-15 11:42:54 +00:00
$ gcloud beta firestore databases delete
2023-07-20 11:47:25 +00:00