REST Resource: matters.savedQueries
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: SavedQuery
ההגדרה של שאילתה שמורה.
כדי לעבוד עם משאבי Vault, לחשבון צריכות להיות ההרשאות הנדרשות ל-Vault וגישה לנושא. כדי לגשת לבקשת תמיכה, החשבון צריך ליצור אותה, הבקשה צריכה להיות משותפת איתו או שיש לו את ההרשאה הצגת כל הבקשות.
ייצוג ב-JSON |
{
"savedQueryId": string,
"displayName": string,
"query": {
object (Query )
},
"matterId": string,
"createTime": string
} |
שדות |
savedQueryId |
string
מזהה ייחודי של השאילתה השמורה.
|
displayName |
string
השם של השאילתה השמורה.
|
query |
object (Query )
פרמטרים של החיפוש של השאילתה השמורה.
|
matterId |
string
פלט בלבד. מזהה הפנייה של הפנייה שבה השאילתה השמורה שמורה. השרת לא משתמש בשדה הזה במהלך היצירה, ותמיד משתמש במזהה הפנייה בכתובת ה-URL.
|
createTime |
string (Timestamp format)
פלט בלבד. חותמת הזמן שנוצרה על ידי השרת כשהשאילתה השמורה נוצרה. הפורמט הזה משתמש ב-RFC 3339, שבו הפלט שנוצר תמיד יהיה מנורמלי לפי Z וישמש בספרות עשרוניות של 0, 3, 6 או 9. אפשר להשתמש גם בשינויים (offsets) אחרים מלבד 'Z'. דוגמאות: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30" .
|
Methods |
|
יצירת שאילתה שמורה. |
|
מחיקת השאילתה השמורה שצוינה. |
|
אחזור של השאילתה השמורה שצוינה. |
|
רשימה של השאילתות השמורות בעניין. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]