Method: operations.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列出符合要求中指定篩選器的作業。如果伺服器不支援此方法,則會傳回 UNIMPLEMENTED
。
HTTP 要求
GET https://vault.googleapis.com/v1/{name=operations}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
作業的父項資源名稱。
|
查詢參數
參數 |
filter |
string
標準清單篩選器。
|
pageSize |
integer
標準清單頁面大小。
|
pageToken |
string
標準清單頁面憑證。
|
回應主體
Operations.ListOperations
的回應訊息。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"operations": [
{
object (Operation )
}
],
"nextPageToken": string
} |
欄位 |
operations[] |
object (Operation )
符合要求中指定篩選器的作業清單。
|
nextPageToken |
string
標準清單下一頁憑證。
|
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/ediscovery.readonly
https://www.googleapis.com/auth/ediscovery
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Method: operations.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListOperationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.\n\n### HTTP request\n\n`GET https://vault.googleapis.com/v1/{name=operations}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------|\n| `name` | `string` The name of the operation's parent resource. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------|\n| `filter` | `string` The standard list filter. |\n| `pageSize` | `integer` The standard list page size. |\n| `pageToken` | `string` The standard list page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [Operations.ListOperations](/workspace/vault/reference/rest/v1/operations/list#google.longrunning.Operations.ListOperations).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"operations\": [ { object (/workspace/vault/reference/rest/v1/operations#Operation) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `operations[]` | `object (`[Operation](/workspace/vault/reference/rest/v1/operations#Operation)`)` A list of operations that matches the specified filter in the request. |\n| `nextPageToken` | `string` The standard List next-page token. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/ediscovery.readonly`\n- `https://www.googleapis.com/auth/ediscovery`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]