mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
gcloud: Thu Jul 17 11:02:31 UTC 2025
This commit is contained in:
parent
e53f7148d8
commit
fe3a430c1d
365 changed files with 6027 additions and 1863 deletions
|
|
@ -6,8 +6,8 @@ SYNOPSIS
|
|||
gcloud firestore databases create --location=LOCATION
|
||||
[--database=DATABASE; default="(default)"] [--delete-protection]
|
||||
[--edition=EDITION; default="standard"] [--enable-pitr]
|
||||
[--kms-key-name=KMS_KEY_NAME] [--type=TYPE; default="firestore-native"]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
[--kms-key-name=KMS_KEY_NAME] [--tags=[KEY=VALUE,...]]
|
||||
[--type=TYPE; default="firestore-native"] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To create a Firestore Enterprise database named foo in nam5 for use with
|
||||
|
|
@ -20,6 +20,11 @@ EXAMPLES
|
|||
|
||||
$ gcloud firestore databases create --location=nam5
|
||||
|
||||
To create a Firestore Native database in us-central1 with tags.
|
||||
|
||||
$ gcloud firestore databases create --location=us-central1 \
|
||||
--tags=key1=value1,key2=value2
|
||||
|
||||
To create a Datastore Mode database in us-east1.
|
||||
|
||||
$ gcloud firestore databases create --location=us-east1 \
|
||||
|
|
@ -105,6 +110,14 @@ OPTIONAL FLAGS
|
|||
How to retrieve this resource ID is listed at
|
||||
https://cloud.google.com/kms/docs/getting-resource-ids#getting_the_id_for_a_key_and_version.
|
||||
|
||||
--tags=[KEY=VALUE,...]
|
||||
Tags to attach to the destination database. Example:
|
||||
--tags=key1=value1,key2=value2
|
||||
|
||||
For example, to attach tags to a database:
|
||||
|
||||
$ --tags=key1=value1,key2=value2
|
||||
|
||||
--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