gcloud_alpha_datastore_indexes_create (1)
NAME
- gcloud alpha datastore indexes create - create new datastore indexes based on your local index configuration
SYNOPSIS
-
gcloud alpha datastore indexes create INDEX_FILE [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create new datastore indexes based on your local index
POSITIONAL ARGUMENTS
-
- INDEX_FILE
-
The path to your index.yaml file. For a detailed look into defining your
index.yaml file, refer to this configuration guide:
cloud.google.com/datastore/docs/tools/indexconfig#Datastore_About_index_yaml
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To create new indexes based on your local configuration, run:
- $ gcloud alpha datastore indexes create ~/myapp/index.yaml
Detailed information about index configuration can be found at the index.yaml reference (cloud.google.com/appengine/docs/standard/python/config/indexref
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud datastore indexes create $ gcloud beta datastore indexes create