mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
NAME
|
|
gcloud datastore indexes create - create new datastore indexes based on
|
|
your local index configuration
|
|
|
|
SYNOPSIS
|
|
gcloud datastore indexes create INDEX_FILE [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create new datastore indexes based on your local index configuration. Any
|
|
indexes in your index file that do not exist will be created.
|
|
|
|
EXAMPLES
|
|
To create new indexes based on your local configuration, run:
|
|
|
|
$ gcloud datastore indexes create ~/myapp/index.yaml
|
|
|
|
Detailed information about index configuration can be found at the
|
|
index.yaml reference
|
|
(https://cloud.google.com/appengine/docs/standard/python/config/indexref).
|
|
|
|
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:
|
|
https://cloud.google.com/datastore/docs/tools/indexconfig#Datastore_About_index_yaml
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha datastore indexes create
|
|
|
|
$ gcloud beta datastore indexes create
|
|
|