mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Sep 7 10:42:28 UTC 2023
This commit is contained in:
parent
f9edf67fe5
commit
6c8d2eb024
307 changed files with 4053 additions and 1615 deletions
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta firestore databases create --location=LOCATION
|
||||
[--database=DATABASE; default="(default)"]
|
||||
[--database=DATABASE; default="(default)"] [--delete-protection]
|
||||
[--type=TYPE; default="firestore-native"] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
|
|
@ -17,11 +17,17 @@ EXAMPLES
|
|||
$ gcloud beta firestore databases create --location=us-east1 \
|
||||
--type=datastore-mode
|
||||
|
||||
To create a Datastore Mode database in us-east1 with a databaseId foo.
|
||||
To create a Datastore Mode database in us-east1 with a database ID foo.
|
||||
|
||||
$ gcloud beta firestore databases create --database=foo \
|
||||
--location=us-east1 --type=datastore-mode
|
||||
|
||||
To create a Firestore Native database in nam5 with delete protection
|
||||
enabled.
|
||||
|
||||
$ gcloud beta firestore databases create --location=nam5 \
|
||||
--delete-protection
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
The location to operate on. Available locations are listed at
|
||||
|
|
@ -43,6 +49,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.
|
||||
|
||||
--type=TYPE; default="firestore-native"
|
||||
The type of the database. TYPE must be one of: firestore-native,
|
||||
datastore-mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue