blob: adbfde4fc70a30b69e6f5a2c28cc9a91bbcf23e2 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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">G Suite Vault API</a> . <a href="vault_v1.matters.html">matters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="vault_v1.matters.exports.html">exports()</a></code>
79</p>
80<p class="firstline">Returns the exports Resource.</p>
81
82<p class="toc_element">
83 <code><a href="vault_v1.matters.holds.html">holds()</a></code>
84</p>
85<p class="firstline">Returns the holds Resource.</p>
86
87<p class="toc_element">
88 <code><a href="vault_v1.matters.savedQueries.html">savedQueries()</a></code>
89</p>
90<p class="firstline">Returns the savedQueries Resource.</p>
91
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#addPermissions">addPermissions(matterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Adds an account as a matter collaborator.</p>
95<p class="toc_element">
96 <code><a href="#close">close(matterId, body=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Closes the specified matter. Returns matter with updated state.</p>
98<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070099 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100<p class="firstline">Creates a new matter with the given name and description. The initial state</p>
101<p class="toc_element">
102 <code><a href="#delete">delete(matterId, x__xgafv=None)</a></code></p>
103<p class="firstline">Deletes the specified matter. Returns matter with updated state.</p>
104<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 <code><a href="#get">get(matterId, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106<p class="firstline">Gets the specified matter.</p>
107<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 <code><a href="#list">list(state=None, pageToken=None, pageSize=None, view=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700109<p class="firstline">Lists matters the user has access to.</p>
110<p class="toc_element">
111 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
112<p class="firstline">Retrieves the next page of results.</p>
113<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700114 <code><a href="#removePermissions">removePermissions(matterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115<p class="firstline">Removes an account as a matter collaborator.</p>
116<p class="toc_element">
117 <code><a href="#reopen">reopen(matterId, body=None, x__xgafv=None)</a></code></p>
118<p class="firstline">Reopens the specified matter. Returns matter with updated state.</p>
119<p class="toc_element">
120 <code><a href="#undelete">undelete(matterId, body=None, x__xgafv=None)</a></code></p>
121<p class="firstline">Undeletes the specified matter. Returns matter with updated state.</p>
122<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700123 <code><a href="#update">update(matterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700124<p class="firstline">Updates the specified matter.</p>
125<h3>Method Details</h3>
126<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 <code class="details" id="addPermissions">addPermissions(matterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 <pre>Adds an account as a matter collaborator.
129
130Args:
131 matterId: string, The matter ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700132 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700133 The object takes the form of:
134
135{ # Add an account with the permission specified. The role cannot be owner.
136 # If an account already has a role in the matter, it will be
137 # overwritten.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 &quot;sendEmails&quot;: True or False, # True to send notification email to the added account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700139 # False to not send notification email.
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 &quot;matterPermission&quot;: { # Currently each matter only has one owner, and all others are collaborators. # The MatterPermission to add.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700141 # When an account is purged, its corresponding MatterPermission resources
142 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700143 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
144 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
145 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700146 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 &quot;ccMe&quot;: True or False, # Only relevant if send_emails is true.
148 # True to CC requestor in the email message.
149 # False to not CC requestor.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700150 }
151
152 x__xgafv: string, V1 error format.
153 Allowed values
154 1 - v1 error format
155 2 - v2 error format
156
157Returns:
158 An object of the form:
159
160 { # Currently each matter only has one owner, and all others are collaborators.
161 # When an account is purged, its corresponding MatterPermission resources
162 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
164 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
165 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700166 }</pre>
167</div>
168
169<div class="method">
170 <code class="details" id="close">close(matterId, body=None, x__xgafv=None)</code>
171 <pre>Closes the specified matter. Returns matter with updated state.
172
173Args:
174 matterId: string, The matter ID. (required)
175 body: object, The request body.
176 The object takes the form of:
177
178{ # Close a matter by ID.
179 }
180
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186Returns:
187 An object of the form:
188
189 { # Response to a CloseMatterRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;matter&quot;: { # Represents a matter. # The updated matter, with state CLOSED.
191 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
192 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
193 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700194 # defined limit on the number of permissions a matter can have.
195 { # Currently each matter only has one owner, and all others are collaborators.
196 # When an account is purged, its corresponding MatterPermission resources
197 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700198 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
199 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
200 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700201 },
202 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
204 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
205 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700206 },
207 }</pre>
208</div>
209
210<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700211 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700212 <pre>Creates a new matter with the given name and description. The initial state
213is open, and the owner is the method caller. Returns the created matter
214with default view.
215
216Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700217 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700218 The object takes the form of:
219
220{ # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700221 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
222 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
223 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700224 # defined limit on the number of permissions a matter can have.
225 { # Currently each matter only has one owner, and all others are collaborators.
226 # When an account is purged, its corresponding MatterPermission resources
227 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700228 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
229 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
230 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700231 },
232 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
234 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
235 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700236}
237
238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243Returns:
244 An object of the form:
245
246 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
248 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
249 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700250 # defined limit on the number of permissions a matter can have.
251 { # Currently each matter only has one owner, and all others are collaborators.
252 # When an account is purged, its corresponding MatterPermission resources
253 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
255 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
256 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700257 },
258 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
260 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
261 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700262 }</pre>
263</div>
264
265<div class="method">
266 <code class="details" id="delete">delete(matterId, x__xgafv=None)</code>
267 <pre>Deletes the specified matter. Returns matter with updated state.
268
269Args:
270 matterId: string, The matter ID (required)
271 x__xgafv: string, V1 error format.
272 Allowed values
273 1 - v1 error format
274 2 - v2 error format
275
276Returns:
277 An object of the form:
278
279 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700280 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
281 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
282 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700283 # defined limit on the number of permissions a matter can have.
284 { # Currently each matter only has one owner, and all others are collaborators.
285 # When an account is purged, its corresponding MatterPermission resources
286 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700287 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
288 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
289 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700290 },
291 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700292 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
293 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
294 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700295 }</pre>
296</div>
297
298<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700299 <code class="details" id="get">get(matterId, view=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700300 <pre>Gets the specified matter.
301
302Args:
303 matterId: string, The matter ID. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700304 view: string, Specifies which parts of the Matter to return in the response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700309
310Returns:
311 An object of the form:
312
313 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
315 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
316 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700317 # defined limit on the number of permissions a matter can have.
318 { # Currently each matter only has one owner, and all others are collaborators.
319 # When an account is purged, its corresponding MatterPermission resources
320 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700321 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
322 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
323 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700324 },
325 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
327 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
328 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700329 }</pre>
330</div>
331
332<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 <code class="details" id="list">list(state=None, pageToken=None, pageSize=None, view=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700334 <pre>Lists matters the user has access to.
335
336Args:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700337 state: string, If set, list only matters with that specific state. The default is listing
338matters of all states.
339 pageToken: string, The pagination token as returned in the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 pageSize: integer, The number of matters to return in the response.
341Default and maximum are 100.
342 view: string, Specifies which parts of the matter to return in response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 x__xgafv: string, V1 error format.
344 Allowed values
345 1 - v1 error format
346 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700347
348Returns:
349 An object of the form:
350
351 { # Provides the list of matters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;nextPageToken&quot;: &quot;A String&quot;, # Page token to retrieve the next page of results in the list.
353 &quot;matters&quot;: [ # List of matters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700354 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
356 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
357 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700358 # defined limit on the number of permissions a matter can have.
359 { # Currently each matter only has one owner, and all others are collaborators.
360 # When an account is purged, its corresponding MatterPermission resources
361 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
363 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
364 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700365 },
366 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
368 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
369 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700370 },
371 ],
372 }</pre>
373</div>
374
375<div class="method">
376 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
377 <pre>Retrieves the next page of results.
378
379Args:
380 previous_request: The request for the previous page. (required)
381 previous_response: The response from the request for the previous page. (required)
382
383Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700384 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700385 page. Returns None if there are no more items in the collection.
386 </pre>
387</div>
388
389<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700390 <code class="details" id="removePermissions">removePermissions(matterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700391 <pre>Removes an account as a matter collaborator.
392
393Args:
394 matterId: string, The matter ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700395 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700396 The object takes the form of:
397
398{ # Remove an account as a matter collaborator.
Bu Sun Kim65020912020-05-20 12:08:20 -0700399 &quot;accountId&quot;: &quot;A String&quot;, # The account ID.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700400 }
401
402 x__xgafv: string, V1 error format.
403 Allowed values
404 1 - v1 error format
405 2 - v2 error format
406
407Returns:
408 An object of the form:
409
410 { # A generic empty message that you can re-use to avoid defining duplicated
411 # empty messages in your APIs. A typical example is to use it as the request
412 # or the response type of an API method. For instance:
413 #
414 # service Foo {
415 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
416 # }
417 #
418 # The JSON representation for `Empty` is empty JSON object `{}`.
419 }</pre>
420</div>
421
422<div class="method">
423 <code class="details" id="reopen">reopen(matterId, body=None, x__xgafv=None)</code>
424 <pre>Reopens the specified matter. Returns matter with updated state.
425
426Args:
427 matterId: string, The matter ID. (required)
428 body: object, The request body.
429 The object takes the form of:
430
431{ # Reopen a matter by ID.
432 }
433
434 x__xgafv: string, V1 error format.
435 Allowed values
436 1 - v1 error format
437 2 - v2 error format
438
439Returns:
440 An object of the form:
441
442 { # Response to a ReopenMatterRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700443 &quot;matter&quot;: { # Represents a matter. # The updated matter, with state OPEN.
444 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
445 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
446 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700447 # defined limit on the number of permissions a matter can have.
448 { # Currently each matter only has one owner, and all others are collaborators.
449 # When an account is purged, its corresponding MatterPermission resources
450 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700451 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
452 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
453 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700454 },
455 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
457 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
458 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 },
460 }</pre>
461</div>
462
463<div class="method">
464 <code class="details" id="undelete">undelete(matterId, body=None, x__xgafv=None)</code>
465 <pre>Undeletes the specified matter. Returns matter with updated state.
466
467Args:
468 matterId: string, The matter ID. (required)
469 body: object, The request body.
470 The object takes the form of:
471
472{ # Undelete a matter by ID.
473 }
474
475 x__xgafv: string, V1 error format.
476 Allowed values
477 1 - v1 error format
478 2 - v2 error format
479
480Returns:
481 An object of the form:
482
483 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700484 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
485 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
486 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700487 # defined limit on the number of permissions a matter can have.
488 { # Currently each matter only has one owner, and all others are collaborators.
489 # When an account is purged, its corresponding MatterPermission resources
490 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700491 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
492 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
493 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700494 },
495 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700496 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
497 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
498 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700499 }</pre>
500</div>
501
502<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700503 <code class="details" id="update">update(matterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700504 <pre>Updates the specified matter.
505This updates only the name and description of the matter, identified by
Dan O'Mearadd494642020-05-01 07:42:23 -0700506matter ID. Changes to any other fields are ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700507Returns the default view of the matter.
508
509Args:
510 matterId: string, The matter ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700511 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700512 The object takes the form of:
513
514{ # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700515 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
516 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
517 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700518 # defined limit on the number of permissions a matter can have.
519 { # Currently each matter only has one owner, and all others are collaborators.
520 # When an account is purged, its corresponding MatterPermission resources
521 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700522 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
523 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
524 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700525 },
526 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700527 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
528 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
529 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700530}
531
532 x__xgafv: string, V1 error format.
533 Allowed values
534 1 - v1 error format
535 2 - v2 error format
536
537Returns:
538 An object of the form:
539
540 { # Represents a matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700541 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
542 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
543 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700544 # defined limit on the number of permissions a matter can have.
545 { # Currently each matter only has one owner, and all others are collaborators.
546 # When an account is purged, its corresponding MatterPermission resources
547 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700548 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
549 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
550 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700551 },
552 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
554 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
555 # Should be blank when creating a new matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700556 }</pre>
557</div>
558
559</body></html>