Method: projects.databases.indexes.list

列出與指定過濾器相符的索引。

HTTP請求

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

URL 使用gRPC 轉碼語法。

路徑參數

參數
parent

string

資料庫名稱。例如: projects/{projectId}/databases/{databaseId}

查詢參數

參數
filter

string

pageSize

integer

標準清單頁面大小。

pageToken

string

標準列表頁面令牌。

請求正文

請求內文必須為空。

響應體

FirestoreAdmin.ListIndexes的回應。

如果成功,回應正文包含具有以下結構的資料:

JSON 表示
{
  "indexes": [
    {
      object (Index)
    }
  ],
  "nextPageToken": string
}
領域
indexes[]

object ( Index )

索引。

nextPageToken

string

標準清單下一頁標記。

授權範圍

需要以下 OAuth 範圍之一:

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

有關詳細信息,請參閱身份驗證概述