gcloud beta firestore indexes composite delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta firestore indexes composite delete - delete the given composite index
- SYNOPSIS
gcloud beta firestore indexes composite delete(INDEX:--database=DATABASE)[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Delete the given composite index.- EXAMPLES
- The following command deletes the composite index with ID
3421ef:gcloudbetafirestoreindexescompositedelete3421efgcloudbetafirestoreindexescompositedelete3421ef--database=(default) - POSITIONAL ARGUMENTS
- Composite index resource - Index to delete. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
indexon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
collection-groupattribute:- provide the argument
indexon the command line with a fullyspecified name; - provide the argument [--collection-group] on the command line.
This must be specified.
INDEX- ID of the composite index or fully qualified identifier for the composite index.
To set the
indexattribute:- provide the argument
indexon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--database=DATABASE- Database of the composite index.To set the
databaseattribute:- provide the argument
indexon the command line with a fullyspecified name; - provide the argument
--databaseon the command line; - the default value of argument [--database] is
(default).
- provide the argument
- provide the argument
- Composite index resource - Index to delete. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
- 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 helpfor details. - API REFERENCE
- This command uses the
firestore/v1API. The full documentation forthis API can be found at:https://cloud.google.com/firestore - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudfirestoreindexescompositedeletegcloudalphafirestoreindexescompositedelete
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.