gcloud_datastore_indexes_cleanup (1)
NAME
- gcloud datastore indexes cleanup - remove unused datastore indexes based on your local index configuration
SYNOPSIS
-
gcloud datastore indexes cleanup INDEX_FILE [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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 remove unused indexes based on your local configuration, run:
- $ gcloud datastore indexes cleanup ~/myapp/index.yaml
NOTES
These variants are also available:
- $ gcloud alpha datastore indexes cleanup $ gcloud beta datastore indexes cleanup