Debian Codegraph @

docs/dyn/vault_v1.matters.savedQueries.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="vault_v1.html">Google Vault API</a> . <a href="vault_v1.matters.html">matters</a> . <a href="vault_v1.matters.savedQueries.html">savedQueries</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(matterId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a saved query.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(matterId, savedQueryId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the specified saved query.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(matterId, savedQueryId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves the specified saved query.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(matterId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists the saved queries in a matter.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(matterId, body=None, x__xgafv=None)</code>
103 <pre>Creates a saved query.
104
105 Args:
106 matterId: string, The ID of the matter to create the saved query in. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # The definition of a saved query. To 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.
111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The server-generated timestamp when the saved query was created.
112 &quot;displayName&quot;: &quot;A String&quot;, # The name of the saved query.
113 &quot;matterId&quot;: &quot;A String&quot;, # 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.
114 &quot;query&quot;: { # The query definition used for search and export. # The search parameters of the saved query.
115 &quot;accountInfo&quot;: { # The accounts to search # Required when **SearchMethod** is **ACCOUNT**.
116 &quot;emails&quot;: [ # A set of accounts to search.
117 &quot;A String&quot;,
118 ],
119 },
120 &quot;calendarOptions&quot;: { # Additional options for Calendar search # Set Calendar search-specific options.
121 &quot;locationQuery&quot;: [ # Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in &quot;and&quot;. Word splitting example: [&quot;New Zealand&quot;] vs [&quot;New&quot;,&quot;Zealand&quot;] &quot;New Zealand&quot;: matched by both &quot;New and better Zealand&quot;: only matched by the later
122 &quot;A String&quot;,
123 ],
124 &quot;minusWords&quot;: [ # Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in &quot;or&quot;.
125 &quot;A String&quot;,
126 ],
127 &quot;peopleQuery&quot;: [ # Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in &quot;and&quot;.
128 &quot;A String&quot;,
129 ],
130 &quot;responseStatuses&quot;: [ # Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.
131 &quot;A String&quot;,
132 ],
133 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
134 },
135 &quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
136 &quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
137 &quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
138 &quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
139 &quot;ids&quot;: [ # Required. A list of Drive document IDs.
140 &quot;A String&quot;,
141 ],
142 },
143 },
144 &quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
145 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
146 &quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
147 &quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
148 &quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
149 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
150 },
151 &quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
152 &quot;geminiOptions&quot;: { # Additional options for Gemini search # Set Gemini search-specific options.
153 },
154 &quot;hangoutsChatInfo&quot;: { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only)
155 &quot;roomId&quot;: [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.
156 &quot;A String&quot;,
157 ],
158 },
159 &quot;hangoutsChatOptions&quot;: { # Additional options for Google Chat search # Set Chat search-specific options. (read-only)
160 &quot;includeRooms&quot;: True or False, # For searches by account or organizational unit, set to **true** to include rooms.
161 },
162 &quot;mailOptions&quot;: { # Additional options for Gmail search # Set Gmail search-specific options.
163 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.
164 &quot;excludeDrafts&quot;: True or False, # Set to **true** to exclude drafts.
165 },
166 &quot;method&quot;: &quot;A String&quot;, # The entity to search. This field replaces **searchMethod** to support shared drives. When **searchMethod** is **TEAM_DRIVE**, the response of this field is **SHARED_DRIVE**.
167 &quot;orgUnitInfo&quot;: { # The organizational unit to search # Required when **SearchMethod** is **ORG_UNIT**.
168 &quot;orgUnitId&quot;: &quot;A String&quot;, # The name of the organizational unit to search, as provided by the [Admin SDK Directory API](https://developers.google.com/admin-sdk/directory/).
169 },
170 &quot;searchMethod&quot;: &quot;A String&quot;, # The search method to use.
171 &quot;sharedDriveInfo&quot;: { # The shared drives to search # Required when **SearchMethod** is **SHARED_DRIVE**.
172 &quot;sharedDriveIds&quot;: [ # A list of shared drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
173 &quot;A String&quot;,
174 ],
175 },
176 &quot;sitesUrlInfo&quot;: { # The published site URLs of new Google Sites to search # Required when **SearchMethod** is **SITES_URL**.
177 &quot;urls&quot;: [ # A list of published site URLs.
178 &quot;A String&quot;,
179 ],
180 },
181 &quot;startTime&quot;: &quot;A String&quot;, # The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
182 &quot;teamDriveInfo&quot;: { # Team Drives to search # Required when **SearchMethod** is **TEAM_DRIVE**.
183 &quot;teamDriveIds&quot;: [ # List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
184 &quot;A String&quot;,
185 ],
186 },
187 &quot;terms&quot;: &quot;A String&quot;, # Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter search results.
188 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone name. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For a list of time zone names, see [Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](https://support.google.com/vault/answer/6092995#time).
189 &quot;voiceOptions&quot;: { # Additional options for Voice search # Set Voice search-specific options.
190 &quot;coveredData&quot;: [ # Datatypes to search
191 &quot;A String&quot;,
192 ],
193 },
194 },
195 &quot;savedQueryId&quot;: &quot;A String&quot;, # A unique identifier for the saved query.
196 }
197
198 x__xgafv: string, V1 error format.
199 Allowed values
200 1 - v1 error format
201 2 - v2 error format
202
203 Returns:
204 An object of the form:
205
206 { # The definition of a saved query. To 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.
207 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The server-generated timestamp when the saved query was created.
208 &quot;displayName&quot;: &quot;A String&quot;, # The name of the saved query.
209 &quot;matterId&quot;: &quot;A String&quot;, # 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.
210 &quot;query&quot;: { # The query definition used for search and export. # The search parameters of the saved query.
211 &quot;accountInfo&quot;: { # The accounts to search # Required when **SearchMethod** is **ACCOUNT**.
212 &quot;emails&quot;: [ # A set of accounts to search.
213 &quot;A String&quot;,
214 ],
215 },
216 &quot;calendarOptions&quot;: { # Additional options for Calendar search # Set Calendar search-specific options.
217 &quot;locationQuery&quot;: [ # Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in &quot;and&quot;. Word splitting example: [&quot;New Zealand&quot;] vs [&quot;New&quot;,&quot;Zealand&quot;] &quot;New Zealand&quot;: matched by both &quot;New and better Zealand&quot;: only matched by the later
218 &quot;A String&quot;,
219 ],
220 &quot;minusWords&quot;: [ # Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in &quot;or&quot;.
221 &quot;A String&quot;,
222 ],
223 &quot;peopleQuery&quot;: [ # Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in &quot;and&quot;.
224 &quot;A String&quot;,
225 ],
226 &quot;responseStatuses&quot;: [ # Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.
227 &quot;A String&quot;,
228 ],
229 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
230 },
231 &quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
232 &quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
233 &quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
234 &quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
235 &quot;ids&quot;: [ # Required. A list of Drive document IDs.
236 &quot;A String&quot;,
237 ],
238 },
239 },
240 &quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
241 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
242 &quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
243 &quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
244 &quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
245 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
246 },
247 &quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
248 &quot;geminiOptions&quot;: { # Additional options for Gemini search # Set Gemini search-specific options.
249 },
250 &quot;hangoutsChatInfo&quot;: { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only)
251 &quot;roomId&quot;: [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.
252 &quot;A String&quot;,
253 ],
254 },
255 &quot;hangoutsChatOptions&quot;: { # Additional options for Google Chat search # Set Chat search-specific options. (read-only)
256 &quot;includeRooms&quot;: True or False, # For searches by account or organizational unit, set to **true** to include rooms.
257 },
258 &quot;mailOptions&quot;: { # Additional options for Gmail search # Set Gmail search-specific options.
259 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.
260 &quot;excludeDrafts&quot;: True or False, # Set to **true** to exclude drafts.
261 },
262 &quot;method&quot;: &quot;A String&quot;, # The entity to search. This field replaces **searchMethod** to support shared drives. When **searchMethod** is **TEAM_DRIVE**, the response of this field is **SHARED_DRIVE**.
263 &quot;orgUnitInfo&quot;: { # The organizational unit to search # Required when **SearchMethod** is **ORG_UNIT**.
264 &quot;orgUnitId&quot;: &quot;A String&quot;, # The name of the organizational unit to search, as provided by the [Admin SDK Directory API](https://developers.google.com/admin-sdk/directory/).
265 },
266 &quot;searchMethod&quot;: &quot;A String&quot;, # The search method to use.
267 &quot;sharedDriveInfo&quot;: { # The shared drives to search # Required when **SearchMethod** is **SHARED_DRIVE**.
268 &quot;sharedDriveIds&quot;: [ # A list of shared drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
269 &quot;A String&quot;,
270 ],
271 },
272 &quot;sitesUrlInfo&quot;: { # The published site URLs of new Google Sites to search # Required when **SearchMethod** is **SITES_URL**.
273 &quot;urls&quot;: [ # A list of published site URLs.
274 &quot;A String&quot;,
275 ],
276 },
277 &quot;startTime&quot;: &quot;A String&quot;, # The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
278 &quot;teamDriveInfo&quot;: { # Team Drives to search # Required when **SearchMethod** is **TEAM_DRIVE**.
279 &quot;teamDriveIds&quot;: [ # List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
280 &quot;A String&quot;,
281 ],
282 },
283 &quot;terms&quot;: &quot;A String&quot;, # Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter search results.
284 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone name. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For a list of time zone names, see [Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](https://support.google.com/vault/answer/6092995#time).
285 &quot;voiceOptions&quot;: { # Additional options for Voice search # Set Voice search-specific options.
286 &quot;coveredData&quot;: [ # Datatypes to search
287 &quot;A String&quot;,
288 ],
289 },
290 },
291 &quot;savedQueryId&quot;: &quot;A String&quot;, # A unique identifier for the saved query.
292 }</pre>
293 </div>
294
295 <div class="method">
296 <code class="details" id="delete">delete(matterId, savedQueryId, x__xgafv=None)</code>
297 <pre>Deletes the specified saved query.
298
299 Args:
300 matterId: string, The ID of the matter to delete the saved query from. (required)
301 savedQueryId: string, ID of the saved query to delete. (required)
302 x__xgafv: string, V1 error format.
303 Allowed values
304 1 - v1 error format
305 2 - v2 error format
306
307 Returns:
308 An object of the form:
309
310 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
311 }</pre>
312 </div>
313
314 <div class="method">
315 <code class="details" id="get">get(matterId, savedQueryId, x__xgafv=None)</code>
316 <pre>Retrieves the specified saved query.
317
318 Args:
319 matterId: string, The ID of the matter to get the saved query from. (required)
320 savedQueryId: string, ID of the saved query to retrieve. (required)
321 x__xgafv: string, V1 error format.
322 Allowed values
323 1 - v1 error format
324 2 - v2 error format
325
326 Returns:
327 An object of the form:
328
329 { # The definition of a saved query. To 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.
330 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The server-generated timestamp when the saved query was created.
331 &quot;displayName&quot;: &quot;A String&quot;, # The name of the saved query.
332 &quot;matterId&quot;: &quot;A String&quot;, # 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.
333 &quot;query&quot;: { # The query definition used for search and export. # The search parameters of the saved query.
334 &quot;accountInfo&quot;: { # The accounts to search # Required when **SearchMethod** is **ACCOUNT**.
335 &quot;emails&quot;: [ # A set of accounts to search.
336 &quot;A String&quot;,
337 ],
338 },
339 &quot;calendarOptions&quot;: { # Additional options for Calendar search # Set Calendar search-specific options.
340 &quot;locationQuery&quot;: [ # Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in &quot;and&quot;. Word splitting example: [&quot;New Zealand&quot;] vs [&quot;New&quot;,&quot;Zealand&quot;] &quot;New Zealand&quot;: matched by both &quot;New and better Zealand&quot;: only matched by the later
341 &quot;A String&quot;,
342 ],
343 &quot;minusWords&quot;: [ # Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in &quot;or&quot;.
344 &quot;A String&quot;,
345 ],
346 &quot;peopleQuery&quot;: [ # Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in &quot;and&quot;.
347 &quot;A String&quot;,
348 ],
349 &quot;responseStatuses&quot;: [ # Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.
350 &quot;A String&quot;,
351 ],
352 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
353 },
354 &quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
355 &quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
356 &quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
357 &quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
358 &quot;ids&quot;: [ # Required. A list of Drive document IDs.
359 &quot;A String&quot;,
360 ],
361 },
362 },
363 &quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
364 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
365 &quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
366 &quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
367 &quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
368 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
369 },
370 &quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
371 &quot;geminiOptions&quot;: { # Additional options for Gemini search # Set Gemini search-specific options.
372 },
373 &quot;hangoutsChatInfo&quot;: { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only)
374 &quot;roomId&quot;: [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.
375 &quot;A String&quot;,
376 ],
377 },
378 &quot;hangoutsChatOptions&quot;: { # Additional options for Google Chat search # Set Chat search-specific options. (read-only)
379 &quot;includeRooms&quot;: True or False, # For searches by account or organizational unit, set to **true** to include rooms.
380 },
381 &quot;mailOptions&quot;: { # Additional options for Gmail search # Set Gmail search-specific options.
382 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.
383 &quot;excludeDrafts&quot;: True or False, # Set to **true** to exclude drafts.
384 },
385 &quot;method&quot;: &quot;A String&quot;, # The entity to search. This field replaces **searchMethod** to support shared drives. When **searchMethod** is **TEAM_DRIVE**, the response of this field is **SHARED_DRIVE**.
386 &quot;orgUnitInfo&quot;: { # The organizational unit to search # Required when **SearchMethod** is **ORG_UNIT**.
387 &quot;orgUnitId&quot;: &quot;A String&quot;, # The name of the organizational unit to search, as provided by the [Admin SDK Directory API](https://developers.google.com/admin-sdk/directory/).
388 },
389 &quot;searchMethod&quot;: &quot;A String&quot;, # The search method to use.
390 &quot;sharedDriveInfo&quot;: { # The shared drives to search # Required when **SearchMethod** is **SHARED_DRIVE**.
391 &quot;sharedDriveIds&quot;: [ # A list of shared drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
392 &quot;A String&quot;,
393 ],
394 },
395 &quot;sitesUrlInfo&quot;: { # The published site URLs of new Google Sites to search # Required when **SearchMethod** is **SITES_URL**.
396 &quot;urls&quot;: [ # A list of published site URLs.
397 &quot;A String&quot;,
398 ],
399 },
400 &quot;startTime&quot;: &quot;A String&quot;, # The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
401 &quot;teamDriveInfo&quot;: { # Team Drives to search # Required when **SearchMethod** is **TEAM_DRIVE**.
402 &quot;teamDriveIds&quot;: [ # List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
403 &quot;A String&quot;,
404 ],
405 },
406 &quot;terms&quot;: &quot;A String&quot;, # Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter search results.
407 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone name. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For a list of time zone names, see [Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](https://support.google.com/vault/answer/6092995#time).
408 &quot;voiceOptions&quot;: { # Additional options for Voice search # Set Voice search-specific options.
409 &quot;coveredData&quot;: [ # Datatypes to search
410 &quot;A String&quot;,
411 ],
412 },
413 },
414 &quot;savedQueryId&quot;: &quot;A String&quot;, # A unique identifier for the saved query.
415 }</pre>
416 </div>
417
418 <div class="method">
419 <code class="details" id="list">list(matterId, pageSize=None, pageToken=None, x__xgafv=None)</code>
420 <pre>Lists the saved queries in a matter.
421
422 Args:
423 matterId: string, The ID of the matter to get the saved queries for. (required)
424 pageSize: integer, The maximum number of saved queries to return.
425 pageToken: string, The pagination token as returned in the previous response. An empty token means start from the beginning.
426 x__xgafv: string, V1 error format.
427 Allowed values
428 1 - v1 error format
429 2 - v2 error format
430
431 Returns:
432 An object of the form:
433
434 { # Definition of the response for method ListSaveQuery.
435 &quot;nextPageToken&quot;: &quot;A String&quot;, # 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.
436 &quot;savedQueries&quot;: [ # List of saved queries.
437 { # The definition of a saved query. To 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.
438 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The server-generated timestamp when the saved query was created.
439 &quot;displayName&quot;: &quot;A String&quot;, # The name of the saved query.
440 &quot;matterId&quot;: &quot;A String&quot;, # 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.
441 &quot;query&quot;: { # The query definition used for search and export. # The search parameters of the saved query.
442 &quot;accountInfo&quot;: { # The accounts to search # Required when **SearchMethod** is **ACCOUNT**.
443 &quot;emails&quot;: [ # A set of accounts to search.
444 &quot;A String&quot;,
445 ],
446 },
447 &quot;calendarOptions&quot;: { # Additional options for Calendar search # Set Calendar search-specific options.
448 &quot;locationQuery&quot;: [ # Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in &quot;and&quot;. Word splitting example: [&quot;New Zealand&quot;] vs [&quot;New&quot;,&quot;Zealand&quot;] &quot;New Zealand&quot;: matched by both &quot;New and better Zealand&quot;: only matched by the later
449 &quot;A String&quot;,
450 ],
451 &quot;minusWords&quot;: [ # Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in &quot;or&quot;.
452 &quot;A String&quot;,
453 ],
454 &quot;peopleQuery&quot;: [ # Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in &quot;and&quot;.
455 &quot;A String&quot;,
456 ],
457 &quot;responseStatuses&quot;: [ # Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.
458 &quot;A String&quot;,
459 ],
460 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
461 },
462 &quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
463 &quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
464 &quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
465 &quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
466 &quot;ids&quot;: [ # Required. A list of Drive document IDs.
467 &quot;A String&quot;,
468 ],
469 },
470 },
471 &quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
472 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
473 &quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
474 &quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
475 &quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
476 &quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
477 },
478 &quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
479 &quot;geminiOptions&quot;: { # Additional options for Gemini search # Set Gemini search-specific options.
480 },
481 &quot;hangoutsChatInfo&quot;: { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only)
482 &quot;roomId&quot;: [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.
483 &quot;A String&quot;,
484 ],
485 },
486 &quot;hangoutsChatOptions&quot;: { # Additional options for Google Chat search # Set Chat search-specific options. (read-only)
487 &quot;includeRooms&quot;: True or False, # For searches by account or organizational unit, set to **true** to include rooms.
488 },
489 &quot;mailOptions&quot;: { # Additional options for Gmail search # Set Gmail search-specific options.
490 &quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.
491 &quot;excludeDrafts&quot;: True or False, # Set to **true** to exclude drafts.
492 },
493 &quot;method&quot;: &quot;A String&quot;, # The entity to search. This field replaces **searchMethod** to support shared drives. When **searchMethod** is **TEAM_DRIVE**, the response of this field is **SHARED_DRIVE**.
494 &quot;orgUnitInfo&quot;: { # The organizational unit to search # Required when **SearchMethod** is **ORG_UNIT**.
495 &quot;orgUnitId&quot;: &quot;A String&quot;, # The name of the organizational unit to search, as provided by the [Admin SDK Directory API](https://developers.google.com/admin-sdk/directory/).
496 },
497 &quot;searchMethod&quot;: &quot;A String&quot;, # The search method to use.
498 &quot;sharedDriveInfo&quot;: { # The shared drives to search # Required when **SearchMethod** is **SHARED_DRIVE**.
499 &quot;sharedDriveIds&quot;: [ # A list of shared drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
500 &quot;A String&quot;,
501 ],
502 },
503 &quot;sitesUrlInfo&quot;: { # The published site URLs of new Google Sites to search # Required when **SearchMethod** is **SITES_URL**.
504 &quot;urls&quot;: [ # A list of published site URLs.
505 &quot;A String&quot;,
506 ],
507 },
508 &quot;startTime&quot;: &quot;A String&quot;, # The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
509 &quot;teamDriveInfo&quot;: { # Team Drives to search # Required when **SearchMethod** is **TEAM_DRIVE**.
510 &quot;teamDriveIds&quot;: [ # List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).
511 &quot;A String&quot;,
512 ],
513 },
514 &quot;terms&quot;: &quot;A String&quot;, # Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter search results.
515 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone name. It should be an IANA TZ name, such as &quot;America/Los_Angeles&quot;. For a list of time zone names, see [Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](https://support.google.com/vault/answer/6092995#time).
516 &quot;voiceOptions&quot;: { # Additional options for Voice search # Set Voice search-specific options.
517 &quot;coveredData&quot;: [ # Datatypes to search
518 &quot;A String&quot;,
519 ],
520 },
521 },
522 &quot;savedQueryId&quot;: &quot;A String&quot;, # A unique identifier for the saved query.
523 },
524 ],
525 }</pre>
526 </div>
527
528 <div class="method">
529 <code class="details" id="list_next">list_next()</code>
530 <pre>Retrieves the next page of results.
531
532 Args:
533 previous_request: The request for the previous page. (required)
534 previous_response: The response from the request for the previous page. (required)
535
536 Returns:
537 A request object that you can call &#x27;execute()&#x27; on to request the next
538 page. Returns None if there are no more items in the collection.
539 </pre>
540 </div>
541
542 </body></html>