gcloud beta emulators datastore

NAME
gcloud beta emulators datastore - manage your local datastore emulator
SYNOPSIS
gcloud beta emulators datastoreCOMMAND[--data-dir=DATA_DIR][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) This set of commands allows you to start and use a localdatastore emulator.
EXAMPLES
To start a local datastore emulator, run:
gcloudbetaemulatorsdatastorestart
FLAGS
--data-dir=DATA_DIR
The directory to be used to store/retrieve data/config for an emulator run. Thedefault value is<USER_CONFIG_DIR>/emulators/datastore. Thevalue of USER_CONFIG_DIR can be found by running:
gcloudinfo--format='get(config.paths.global_config_dir)'
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
env-init
(BETA) Print the commands required to export env variables of adatastore.
env-unset
(BETA) Print the commands required to unset a datastore emulatorsenv variables.
start
(BETA) Start a local datastore emulator.
NOTES
This command is currently in beta and might change without notice. This variantis also available:
gcloudalphaemulatorsdatastore

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.