1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00
gcloud-help/gcloud/datastore/indexes/cleanup
2022-03-01 04:29:52 +00:00

38 lines
1.3 KiB
Text

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
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.
EXAMPLES
To remove unused indexes based on your local configuration, run:
$ gcloud datastore indexes cleanup ~/myapp/index.yaml
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 cleanup
$ gcloud beta datastore indexes cleanup