Para trabajar con los recursos de Vault, la cuenta debe tener los privilegios de Vault necesarios y acceso al asunto. Para acceder a un asunto, la cuenta debe haberlo creado, compartirlo con ella o tener el privilegio Ver todos los asuntos.
Los parámetros de búsqueda de la consulta guardada.
matterId
string
Solo salida. El ID del asunto en el que se guardó la consulta. El servidor no usa este campo durante la creación y siempre usa el ID de Matter en la URL.
Solo salida. Es la marca de tiempo generada por el servidor cuando se creó la consulta guardada.
Usa RFC 3339, en el que el resultado generado siempre se normalizará en Z y usará 0, 3, 6 o 9 dígitos fraccionarios. También se aceptan compensaciones distintas de "Z". Ejemplos: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-25 (UTC)"],[],[],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. |"]]