Method: projects.operations.list

列出符合要求中指定篩選器的作業。如果伺服器不支援此方法,則會傳回 UNIMPLEMENTED

HTTP 要求

GET https://discoveryengine.googleapis.com/v1beta/{name=projects/*}/operations

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

路徑參數

參數
name

string

作業的父項資源名稱。

查詢參數

參數
filter

string

標準清單篩選器。

pageSize

integer

標準清單頁面大小。

pageToken

string

標準清單頁面符記。

returnPartialSuccess

boolean

設為 true 時,可連線的作業會照常傳回,無法連線的作業則會傳回至 [ListOperationsResponse.unreachable] 欄位。

只有在跨集合讀取時 (例如 parent 設為 "projects/example/locations/-" 時),才能使用 true

根據預設,系統不支援這個欄位,如果設定這個欄位,會導致 UNIMPLEMENTED 錯誤,除非服務或產品專屬說明文件中明確記載其他情況。

要求主體

要求主體必須為空白。

回應主體

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

授權範圍

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

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

詳情請參閱Authentication Overview

IAM 權限

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

  • discoveryengine.operations.list

詳情請參閱 IAM 說明文件