Method: projects.locations.indexEndpoints.list

列出專案中的所有 IndexEndpoints。

HTTP 要求

GET https://visionai.googleapis.com/v1/{parent=projects/*/locations/*}/indexEndpoints

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

這是必要旗標,格式:projects/{project}/locations/{location}

查詢參數

參數
pageSize

integer

(非必要) 請求的頁面大小。伺服器傳回的項目數量可能會少於要求的項目數量。服務傳回的產品數量可能會少於這個值。如未指定,系統會使用 50 的頁面大小。許可的最大值為 1000;超出的數值將一律指定為 1000。

pageToken

string

(非必要) 用來識別伺服器應傳回的結果頁面的符記。

filter

string

(非必要) 套用至傳回清單的篩選器。我們只支援篩選 deployedImageIndex.image_index 欄位。不過,如要依據字典而非圖像索引篩選,只要使用 deployedImageIndex.corpus 即可,這會傳回指定字典中所有含有 deployedImageIndex.image_index 的端點。圖片索引的基本篩選器如下:deployedImageIndex.image_index = "projects/123/locations/us-central1/corpora/my_corpus/imageIndexes/my_image_index"。語料庫的基本篩選器如下:deployedImageIndex.corpus = "projects/123/locations/us-central1/corpora/my_corpus"。

要求主體

要求主體必須為空白。

回應主體

indexEndpoints.list 的回應訊息。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "indexEndpoints": [
    {
      object (IndexEndpoint)
    }
  ],
  "nextPageToken": string
}
欄位
indexEndpoints[]

object (IndexEndpoint)

IndexEndpoints 的清單。

nextPageToken

string

用來識別伺服器應傳回的結果頁面的符記。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱驗證總覽一文。

IAM 權限

需要在 parent 資源上具備下列 IAM 權限:

  • visionai.indexEndpoints.list

詳情請參閱 身分與存取權管理說明文件