Method: projects.locations.collections.engines.list

列出與專案相關聯的所有 Engine

HTTP 要求

GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*}/engines

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

路徑參數

參數
parent

string

這是必要旗標,父項資源名稱,例如 projects/{project}/locations/{location}/collections/{collectionId}

查詢參數

參數
pageSize

integer

(選用步驟) 不支援。

pageToken

string

(選用步驟) 不支援。

filter

string

(選用步驟) 依解決方案類型篩選。例如:solutionType=SOLUTION_TYPE_SEARCH

要求主體

要求主體必須為空白。

回應主體

EngineService.ListEngines 方法的回應訊息。

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

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

object (Engine)

客戶的所有 Engine

nextPageToken

string

不支援。

授權範圍

需要下列其中一種 OAuth 範圍:

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

詳情請參閱Authentication Overview

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • discoveryengine.engines.list

詳情請參閱 IAM 說明文件