Method: projects.locations.collections.dataStores.schemas.list

取得 Schema 清單。

HTTP 要求

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

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

路徑參數

參數
parent

string

這是必要旗標,父項資料儲存庫資源名稱,格式為 projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}

查詢參數

參數
pageSize

integer

要傳回的 Schema 數量上限。服務傳回的產品數量可能會少於這個值。

如未指定,最多會傳回 100 個 Schema

許可的最大值為 1000;超出的數值將一律指定為 1000。

pageToken

string

屬於接收自前一個 SchemaService.ListSchemas 呼叫的網頁權杖。提供此項目即可擷取後續網頁。

進行分頁時,提供至 SchemaService.ListSchemas 的所有其他參數須與提供網頁權杖的呼叫相符。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 ListSchemasResponse 的執行個體。

授權範圍

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

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

詳情請參閱Authentication Overview

IAM 權限

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

  • discoveryengine.schemas.list

詳情請參閱 IAM 說明文件