mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Jan 10 10:17:49 UTC 2024
This commit is contained in:
parent
08ad88258a
commit
5fec13c692
262 changed files with 3211 additions and 4501 deletions
|
|
@ -4,8 +4,9 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud firestore databases create --location=LOCATION
|
||||
[--database=DATABASE; default="(default)"] [--enable-pitr]
|
||||
[--type=TYPE; default="firestore-native"] [GCLOUD_WIDE_FLAG ...]
|
||||
[--database=DATABASE; default="(default)"] [--delete-protection]
|
||||
[--enable-pitr] [--type=TYPE; default="firestore-native"]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To create a Firestore Native database in nam5.
|
||||
|
|
@ -22,6 +23,12 @@ EXAMPLES
|
|||
$ gcloud firestore databases create --database=foo \
|
||||
--location=us-east1 --type=datastore-mode
|
||||
|
||||
To create a Firestore Native database in nam5 with delete protection
|
||||
enabled.
|
||||
|
||||
$ gcloud firestore databases create --location=nam5 \
|
||||
--delete-protection
|
||||
|
||||
To create a Firestore Native database in nam5 with Point In Time Recovery
|
||||
(PITR) enabled.
|
||||
|
||||
|
|
@ -48,6 +55,14 @@ OPTIONAL FLAGS
|
|||
|
||||
Using "(default)" database ID is also allowed.
|
||||
|
||||
--delete-protection
|
||||
Whether to enable delete protection on the created database.
|
||||
|
||||
If set to true, delete protection of the new database will be enabled
|
||||
and delete operations will fail unless delete protection is disabled.
|
||||
|
||||
Default to false.
|
||||
|
||||
--enable-pitr
|
||||
Whether to enable Point In Time Recovery (PITR) on the created
|
||||
database.
|
||||
|
|
|
|||
46
gcloud/firestore/databases/delete
Normal file
46
gcloud/firestore/databases/delete
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
NAME
|
||||
gcloud firestore databases delete - delete a Google Cloud Firestore
|
||||
database
|
||||
|
||||
SYNOPSIS
|
||||
gcloud firestore databases delete --database=DATABASE [--etag=ETAG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To delete a Firestore database test.
|
||||
|
||||
$ gcloud firestore databases delete --database=test
|
||||
|
||||
To delete the Firestore (default) database.
|
||||
|
||||
$ gcloud firestore databases delete --database=(default)
|
||||
|
||||
To delete a Firestore database test providing etag.
|
||||
|
||||
$ gcloud 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
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha firestore databases delete
|
||||
|
||||
$ gcloud beta firestore databases delete
|
||||
|
||||
|
|
@ -19,6 +19,9 @@ COMMANDS
|
|||
create
|
||||
Create a Google Cloud Firestore database via Firestore API.
|
||||
|
||||
delete
|
||||
Delete a Google Cloud Firestore database.
|
||||
|
||||
describe
|
||||
Describes information about a Cloud Firestore database.
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud firestore databases update [--async] [--database=DATABASE]
|
||||
[--enable-pitr] [--type=TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
[--delete-protection] [--enable-pitr] [--type=TYPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the database configuration of a Cloud Firestore database.
|
||||
|
|
@ -39,6 +40,12 @@ FLAGS
|
|||
▸ provide the argument --database on the command line;
|
||||
▸ the default value of argument [--database] is (default).
|
||||
|
||||
--delete-protection
|
||||
If set to true, the Firestore database will be updated to have database
|
||||
delete protection enabled. A database with delete protection enabled
|
||||
cannot be deleted. You can disable the delete protection via
|
||||
--no-delete-protection.
|
||||
|
||||
--enable-pitr
|
||||
If set to true, the Firestore database will be updated to enable Point
|
||||
In Time Recovery. You can disable the this feature via
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue