gcloud datastore cleanup-indexes

NAME
gcloud datastore cleanup-indexes - remove unused datastore indexes based on your local index configuration
SYNOPSIS
gcloud datastore cleanup-indexes INDEX_FILE [GCLOUD_WIDE_FLAG]
DESCRIPTION
(DEPRECATED) cleanup-indexes is deprecated. Please use gcloud datastore indexes cleanup instead. This command removes unused datastore indexes based on your local index configuration. Any indexes that exist that are not in the index file will be removed.
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: --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 cleanup-indexes ~/myapp/index.yaml
Was this page helpful? Let us know how we did:

Send feedback about...