blob: 1026ddf40d63e78c408a8db091b1ab5f0e9455cc [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 Kim4ed7d3f2020-05-27 12:20:54 -0700108 <code><a href="#list">list(pageToken=None, pageSize=None, view=None, state=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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700191 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
192 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
194 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
195 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700196 # defined limit on the number of permissions a matter can have.
197 { # Currently each matter only has one owner, and all others are collaborators.
198 # When an account is purged, its corresponding MatterPermission resources
199 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
201 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
202 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700203 },
204 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700221 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
222 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700223 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
224 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
225 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700226 # defined limit on the number of permissions a matter can have.
227 { # Currently each matter only has one owner, and all others are collaborators.
228 # When an account is purged, its corresponding MatterPermission resources
229 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700230 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
231 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
232 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700233 },
234 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700247 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
248 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700249 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
250 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
251 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700252 # defined limit on the number of permissions a matter can have.
253 { # Currently each matter only has one owner, and all others are collaborators.
254 # When an account is purged, its corresponding MatterPermission resources
255 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
257 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
258 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700259 },
260 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700261 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700280 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
281 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700282 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
283 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
284 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700285 # defined limit on the number of permissions a matter can have.
286 { # Currently each matter only has one owner, and all others are collaborators.
287 # When an account is purged, its corresponding MatterPermission resources
288 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
290 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
291 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 },
293 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700294 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700314 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
315 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700316 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
317 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
318 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700319 # defined limit on the number of permissions a matter can have.
320 { # Currently each matter only has one owner, and all others are collaborators.
321 # When an account is purged, its corresponding MatterPermission resources
322 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700323 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
324 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
325 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700326 },
327 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700328 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700329 }</pre>
330</div>
331
332<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700333 <code class="details" id="list">list(pageToken=None, pageSize=None, view=None, state=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 pageToken: string, The pagination token as returned in the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 pageSize: integer, The number of matters to return in the response.
339Default and maximum are 100.
340 view: string, Specifies which parts of the matter to return in response.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700341 state: string, If set, list only matters with that specific state. The default is listing
342matters of all states.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700355 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
356 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
358 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
359 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700360 # defined limit on the number of permissions a matter can have.
361 { # Currently each matter only has one owner, and all others are collaborators.
362 # When an account is purged, its corresponding MatterPermission resources
363 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
365 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
366 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700367 },
368 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 &quot;description&quot;: &quot;A String&quot;, # The description of the 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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700444 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
445 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700446 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
447 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
448 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700449 # defined limit on the number of permissions a matter can have.
450 { # Currently each matter only has one owner, and all others are collaborators.
451 # When an account is purged, its corresponding MatterPermission resources
452 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700453 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
454 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
455 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700456 },
457 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700458 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700484 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
485 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700486 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
487 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
488 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700489 # defined limit on the number of permissions a matter can have.
490 { # Currently each matter only has one owner, and all others are collaborators.
491 # When an account is purged, its corresponding MatterPermission resources
492 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700493 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
494 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
495 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700496 },
497 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700515 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
516 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700517 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
518 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
519 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700520 # defined limit on the number of permissions a matter can have.
521 { # Currently each matter only has one owner, and all others are collaborators.
522 # When an account is purged, its corresponding MatterPermission resources
523 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
525 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
526 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700527 },
528 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700529 &quot;description&quot;: &quot;A String&quot;, # The description of the 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 Kim4ed7d3f2020-05-27 12:20:54 -0700541 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server.
542 # Should be blank when creating a new matter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
544 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
545 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700546 # defined limit on the number of permissions a matter can have.
547 { # Currently each matter only has one owner, and all others are collaborators.
548 # When an account is purged, its corresponding MatterPermission resources
549 # cease to exist.
Bu Sun Kim65020912020-05-20 12:08:20 -0700550 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
551 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by &lt;a
552 # href=&quot;https://developers.google.com/admin-sdk/&quot;&gt;Admin SDK&lt;/a&gt;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700553 },
554 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700555 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700556 }</pre>
557</div>
558
559</body></html>