mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 13:10:18 +00:00
gcloud: Wed May 4 09:15:29 UTC 2022
This commit is contained in:
parent
532fac5ddb
commit
5e0446371a
160 changed files with 5232 additions and 171 deletions
|
|
@ -2,9 +2,10 @@ NAME
|
|||
gcloud beta emulators datastore start - start a local datastore emulator
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta emulators datastore start
|
||||
[--consistency=CONSISTENCY; default=0.9] [--data-dir=DATA_DIR]
|
||||
[--host-port=HOST_PORT] [--no-store-on-disk] [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud beta emulators datastore start [--data-dir=DATA_DIR]
|
||||
[--host-port=HOST_PORT] [--no-store-on-disk]
|
||||
[--consistency=CONSISTENCY; default=0.9
|
||||
| --use-firestore-in-datastore-mode] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command starts a local datastore emulator.
|
||||
|
|
@ -15,12 +16,6 @@ EXAMPLES
|
|||
$ gcloud beta emulators datastore start --data-dir=DATA-DIR
|
||||
|
||||
FLAGS
|
||||
--consistency=CONSISTENCY; default=0.9
|
||||
Fraction of eventually consistent operations that should succeed
|
||||
immediately. Setting to 1.0 can be useful for unit tests, but may mask
|
||||
incorrect assumptions about non-ancestor queries which are eventually
|
||||
consistent.
|
||||
|
||||
--data-dir=DATA_DIR
|
||||
The directory to be used to store/retrieve data/config for an emulator
|
||||
run. The default value is <USER_CONFIG_DIR>/emulators/datastore. The
|
||||
|
|
@ -44,6 +39,19 @@ FLAGS
|
|||
Whether data should be persisted to disk. Enabled by default, use
|
||||
--no-store-on-disk to disable.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--consistency=CONSISTENCY; default=0.9
|
||||
Fraction of eventually consistent operations that should succeed
|
||||
immediately. Setting to 1.0 can be useful for unit tests, but may
|
||||
mask incorrect assumptions about non-ancestor queries which are
|
||||
eventually consistent.
|
||||
|
||||
--use-firestore-in-datastore-mode
|
||||
Runs the emulator in Cloud Firestore in Datastore Mode. Reads are
|
||||
always strongly consistent and --consistency flag may not be
|
||||
specified.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue