REST Resource: matters.savedQueries
Resource: SavedQuery
The definition of a saved query.
To work with Vault resources, the account must have the required Vault privileges 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.
JSON representation |
{
"savedQueryId": string,
"displayName": string,
"query": {
object (Query )
},
"matterId": string,
"createTime": string
} |
Fields |
savedQueryId |
string
A unique identifier for the saved query.
|
displayName |
string
The name of the saved query.
|
query |
object (Query )
The search parameters of the saved query.
|
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.
|
createTime |
string (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" .
|
Methods |
|
Creates a saved query. |
|
Deletes the specified saved query. |
|
Retrieves the specified saved query. |
|
Lists the saved queries in a matter. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["SavedQuery is a resource that defines a saved search within a Vault matter."],["To interact with SavedQuery, accounts need specific Vault privileges and matter access."],["SavedQuery objects contain details like a unique identifier, name, query parameters, matter ID, and creation timestamp."],["Vault provides API methods to create, delete, retrieve, and list SavedQueries."]]],["A `SavedQuery` resource defines a saved search within a matter. Key attributes include `savedQueryId` (unique identifier), `displayName` (name), `query` (search parameters), `matterId` (associated matter), and `createTime` (creation timestamp). Users need specific Vault privileges to work with these resources. Actions involve using the methods to create, delete, get and list the saved query within a given matter.\n"]]