mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Jun 28 10:42:37 UTC 2023
This commit is contained in:
parent
dc0d916cee
commit
0248e53b76
139 changed files with 3939 additions and 162 deletions
|
|
@ -5,7 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha firestore databases create --location=LOCATION
|
||||
[--database=DATABASE; default="(default)"] [--delete-protection]
|
||||
[--type=TYPE; default="firestore-native"] [GCLOUD_WIDE_FLAG ...]
|
||||
[--enable-pitr] [--type=TYPE; default="firestore-native"]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To create a Firestore Native database in nam5.
|
||||
|
|
@ -28,6 +29,12 @@ EXAMPLES
|
|||
$ gcloud alpha firestore databases create --location=nam5 \
|
||||
--delete-protection
|
||||
|
||||
To create a Firestore Native database in nam5 with Point In Time Recovery
|
||||
(PITR) enabled.
|
||||
|
||||
$ gcloud alpha firestore databases create --location=nam5 \
|
||||
--enable-pitr
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
The location to operate on. Available locations are listed at
|
||||
|
|
@ -57,6 +64,13 @@ OPTIONAL FLAGS
|
|||
|
||||
Default to false.
|
||||
|
||||
--enable-pitr
|
||||
Whether to enable Point In Time Recovery (PITR) on the created
|
||||
database.
|
||||
|
||||
If set to true, PITR on the new database will be enabled.
|
||||
Default to false.
|
||||
|
||||
--type=TYPE; default="firestore-native"
|
||||
The type of the database. TYPE must be one of: firestore-native,
|
||||
datastore-mode.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha firestore databases update [--async] [--database=DATABASE]
|
||||
[--delete-protection] [--type=TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
[--delete-protection] [--enable-pitr] [--type=TYPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update the database configuration of a Cloud Firestore database.
|
||||
|
|
@ -45,6 +46,12 @@ FLAGS
|
|||
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. Customers will gradually gain the full read access to
|
||||
their data over the past 7 days and they will be charged. You can
|
||||
disable the this feature via --no-enable-pitr.
|
||||
|
||||
--type=TYPE
|
||||
The database type. TYPE must be one of: datastore-mode,
|
||||
firestore-native.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue