REST Resource: matters.savedQueries
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:SavedQuery
已保存查询的定义。
若要使用保险柜资源,该账号必须拥有必要的保险柜权限,并且有权访问相应事项。若要访问某项诉讼或调查,相应账号必须是该诉讼或调查的创建者、该诉讼或调查的共享对象,或者拥有查看所有诉讼或调查权限。
JSON 表示法 |
{
"savedQueryId": string,
"displayName": string,
"query": {
object (Query )
},
"matterId": string,
"createTime": string
} |
字段 |
savedQueryId |
string
已保存查询的唯一标识符。
|
displayName |
string
已保存查询的名称。
|
query |
object (Query )
已保存查询的搜索参数。
|
matterId |
string
仅限输出。已保存的查询所保存的诉讼或调查的 ID。服务器在创建过程中不会使用此字段,并且始终在网址中使用案例 ID。
|
createTime |
string (Timestamp format)
仅限输出。服务器在创建已保存的查询时生成的时间戳。 采用 RFC 3339 标准,生成的输出将始终在末尾带 Z,并使用 0、3、6 或 9 个小数位。不带“Z”的偏差时间也是可以接受的。示例:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
方法 |
|
创建已保存的查询。 |
|
删除指定的已保存查询。 |
|
检索指定的已保存查询。 |
|
列出某一诉讼或调查中已保存的查询。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# REST Resource: matters.savedQueries\n\n- [Resource: SavedQuery](#SavedQuery)\n - [JSON representation](#SavedQuery.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SavedQuery\n--------------------\n\nThe definition of a saved query.\n\nTo work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"savedQueryId\": string, \"displayName\": string, \"query\": { object (/workspace/vault/reference/rest/v1/Query) }, \"matterId\": string, \"createTime\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `savedQueryId` | `string` A unique identifier for the saved query. |\n| `displayName` | `string` The name of the saved query. |\n| `query` | `object (`[Query](/workspace/vault/reference/rest/v1/Query)`)` The search parameters of the saved query. |\n| `matterId` | `string` Output only. The matter ID of the matter the saved query is saved in. The server does not use this field during create and always uses matter ID in the URL. |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The server-generated timestamp when the saved query was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------|--------------------------------------|\n| ### [create](/workspace/vault/reference/rest/v1/matters.savedQueries/create) | Creates a saved query. |\n| ### [delete](/workspace/vault/reference/rest/v1/matters.savedQueries/delete) | Deletes the specified saved query. |\n| ### [get](/workspace/vault/reference/rest/v1/matters.savedQueries/get) | Retrieves the specified saved query. |\n| ### [list](/workspace/vault/reference/rest/v1/matters.savedQueries/list) | Lists the saved queries in a matter. |"]]