Method: projects.databases.collectionGroups.indexes.list

Lists composite indexes.

HTTP request

GET https://firestore.googleapis.com/v1beta2/{parent=projects/*/databases/*/collectionGroups/*}/indexes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collectionId}

Query parameters

Parameters
filter

string

The filter to apply to list results.

pageSize

number

The number of results to return.

pageToken

string

A page token, returned from a previous call to FirestoreAdmin.ListIndexes, that may be used to get the next page of results.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response for FirestoreAdmin.ListIndexes.

JSON representation
{
  "indexes": [
    {
      object (Index)
    }
  ],
  "nextPageToken": string
}
Fields
indexes[]

object (Index)

The requested indexes.

nextPageToken

string

A page token that may be used to request another page of results. If blank, this is the last page.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/datastore
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Firestore