Method: matters.savedQueries.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://vault.googleapis.com/v1/matters/{matterId}/savedQueries
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
matterId |
string
要取得儲存查詢的案件 ID。
|
查詢參數
參數 |
pageSize |
integer
要傳回的儲存查詢數量上限。
|
pageToken |
string
上一個回應中傳回的分頁符記。空白符號表示從開頭開始。
|
回應主體
定義 ListSaveQuery 方法的回應。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"savedQueries": [
{
object (SavedQuery )
}
],
"nextPageToken": string
} |
欄位 |
savedQueries[] |
object (SavedQuery )
已儲存的查詢清單。
|
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: matters.savedQueries.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.ListSavedQueriesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists the saved queries in a matter.\n\n### HTTP request\n\n`GET https://vault.googleapis.com/v1/matters/{matterId}/savedQueries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------------------------------------------|\n| `matterId` | `string` The ID of the matter to get the saved queries for. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of saved queries to return. |\n| `pageToken` | `string` The pagination token as returned in the previous response. An empty token means start from the beginning. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nDefinition of the response for method ListSaveQuery.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"savedQueries\": [ { object (/workspace/vault/reference/rest/v1/matters.savedQueries#SavedQuery) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `savedQueries[]` | `object (`[SavedQuery](/workspace/vault/reference/rest/v1/matters.savedQueries#SavedQuery)`)` List of saved queries. |\n| `nextPageToken` | `string` Page token to retrieve the next page of results in the list. If this is empty, then there are no more saved queries to list. |\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)."]]