gcloud beta firestore indexes composite delete

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 ID3421ef:
gcloudbetafirestoreindexescompositedelete3421ef
gcloudbetafirestoreindexescompositedelete3421ef--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 theproject attribute:

  • provide the argumentindex on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thecollection-group attribute:

  • provide the argumentindex on 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 theindex attribute:

  • provide the argumentindex on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--database=DATABASE
Database of the composite index.To set thedatabase attribute:
  • provide the argumentindex on the command line with a fullyspecified name;
  • provide the argument--database on the command line;
  • the default value of argument [--database] is(default).
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.

API REFERENCE
This command uses thefirestore/v1 API. 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:
gcloudfirestoreindexescompositedelete
gcloudalphafirestoreindexescompositedelete

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.