blob: e409cd1f480e394e04460fab14a531961d59f8f7 [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>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100<p class="firstline">Creates a new matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101<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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700108 <code><a href="#list">list(view=None, pageToken=None, pageSize=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>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124<p class="firstline">Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the matter.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125<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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135{ # Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, it will be overwritten.
136 &quot;matterPermission&quot;: { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist. # The MatterPermission to add.
137 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700138 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
139 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700140 &quot;sendEmails&quot;: True or False, # True to send notification email to the added account. False to not send notification email.
141 &quot;ccMe&quot;: True or False, # Only relevant if send_emails is true. True to CC requestor in the email message. False to not CC requestor.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700142 }
143
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149Returns:
150 An object of the form:
151
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
153 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700154 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700155 }</pre>
156</div>
157
158<div class="method">
159 <code class="details" id="close">close(matterId, body=None, x__xgafv=None)</code>
160 <pre>Closes the specified matter. Returns matter with updated state.
161
162Args:
163 matterId: string, The matter ID. (required)
164 body: object, The request body.
165 The object takes the form of:
166
167{ # Close a matter by ID.
168 }
169
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
174
175Returns:
176 An object of the form:
177
178 { # Response to a CloseMatterRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;matter&quot;: { # Represents a matter. # The updated matter, with state CLOSED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
181 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
182 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
183 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
184 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
185 },
186 ],
187 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
188 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
189 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
190 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700191 }</pre>
192</div>
193
194<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700195 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700196 <pre>Creates a new matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700197
198Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700199 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700200 The object takes the form of:
201
202{ # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700203 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
204 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
205 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
206 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
207 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
208 },
209 ],
210 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
211 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
212 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
213}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700214
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220Returns:
221 An object of the form:
222
223 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700224 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
225 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
226 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
227 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
228 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
229 },
230 ],
231 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
232 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
233 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
234 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700235</div>
236
237<div class="method">
238 <code class="details" id="delete">delete(matterId, x__xgafv=None)</code>
239 <pre>Deletes the specified matter. Returns matter with updated state.
240
241Args:
242 matterId: string, The matter ID (required)
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
247
248Returns:
249 An object of the form:
250
251 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700252 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
253 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
254 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
255 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
256 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
257 },
258 ],
259 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
260 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
261 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
262 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700263</div>
264
265<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700266 <code class="details" id="get">get(matterId, view=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700267 <pre>Gets the specified matter.
268
269Args:
270 matterId: string, The matter ID. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 view: string, Specifies which parts of the Matter to return in the response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700272 Allowed values
273 VIEW_UNSPECIFIED - There is no specified view.
274 BASIC - Response includes the matter_id, name, description, and state. Default choice.
275 FULL - Full representation of matter is returned. Everything above and including MatterPermissions list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700276 x__xgafv: string, V1 error format.
277 Allowed values
278 1 - v1 error format
279 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700280
281Returns:
282 An object of the form:
283
284 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700285 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
286 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
287 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
288 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
289 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
290 },
291 ],
292 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
293 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
294 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
295 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700296</div>
297
298<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 <code class="details" id="list">list(view=None, pageToken=None, pageSize=None, state=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700300 <pre>Lists matters the user has access to.
301
302Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700303 view: string, Specifies which parts of the matter to return in response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700304 Allowed values
305 VIEW_UNSPECIFIED - There is no specified view.
306 BASIC - Response includes the matter_id, name, description, and state. Default choice.
307 FULL - Full representation of matter is returned. Everything above and including MatterPermissions list.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700308 pageToken: string, The pagination token as returned in the response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700309 pageSize: integer, The number of matters to return in the response. Default and maximum are 100.
310 state: string, If set, list only matters with that specific state. The default is listing matters of all states.
311 Allowed values
312 STATE_UNSPECIFIED - The matter has no specified state.
313 OPEN - This matter is open.
314 CLOSED - This matter is closed.
315 DELETED - This matter is deleted.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700316 x__xgafv: string, V1 error format.
317 Allowed values
318 1 - v1 error format
319 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700320
321Returns:
322 An object of the form:
323
324 { # Provides the list of matters.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700325 &quot;nextPageToken&quot;: &quot;A String&quot;, # Page token to retrieve the next page of results in the list.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;matters&quot;: [ # List of matters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700327 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
329 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
330 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
331 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
332 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
333 },
334 ],
335 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
336 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
337 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
338 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700339 ],
340 }</pre>
341</div>
342
343<div class="method">
344 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
345 <pre>Retrieves the next page of results.
346
347Args:
348 previous_request: The request for the previous page. (required)
349 previous_response: The response from the request for the previous page. (required)
350
351Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700353 page. Returns None if there are no more items in the collection.
354 </pre>
355</div>
356
357<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700358 <code class="details" id="removePermissions">removePermissions(matterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700359 <pre>Removes an account as a matter collaborator.
360
361Args:
362 matterId: string, The matter ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700363 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700364 The object takes the form of:
365
366{ # Remove an account as a matter collaborator.
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;accountId&quot;: &quot;A String&quot;, # The account ID.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700368 }
369
370 x__xgafv: string, V1 error format.
371 Allowed values
372 1 - v1 error format
373 2 - v2 error format
374
375Returns:
376 An object of the form:
377
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700378 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700379 }</pre>
380</div>
381
382<div class="method">
383 <code class="details" id="reopen">reopen(matterId, body=None, x__xgafv=None)</code>
384 <pre>Reopens the specified matter. Returns matter with updated state.
385
386Args:
387 matterId: string, The matter ID. (required)
388 body: object, The request body.
389 The object takes the form of:
390
391{ # Reopen a matter by ID.
392 }
393
394 x__xgafv: string, V1 error format.
395 Allowed values
396 1 - v1 error format
397 2 - v2 error format
398
399Returns:
400 An object of the form:
401
402 { # Response to a ReopenMatterRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700403 &quot;matter&quot;: { # Represents a matter. # The updated matter, with state OPEN.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700404 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
405 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
406 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
407 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
408 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
409 },
410 ],
411 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
412 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
413 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
414 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700415 }</pre>
416</div>
417
418<div class="method">
419 <code class="details" id="undelete">undelete(matterId, body=None, x__xgafv=None)</code>
420 <pre>Undeletes the specified matter. Returns matter with updated state.
421
422Args:
423 matterId: string, The matter ID. (required)
424 body: object, The request body.
425 The object takes the form of:
426
427{ # Undelete a matter by ID.
428 }
429
430 x__xgafv: string, V1 error format.
431 Allowed values
432 1 - v1 error format
433 2 - v2 error format
434
435Returns:
436 An object of the form:
437
438 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700439 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
440 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
441 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
442 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
443 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
444 },
445 ],
446 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
447 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
448 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
449 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700450</div>
451
452<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700453 <code class="details" id="update">update(matterId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700454 <pre>Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the matter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700455
456Args:
457 matterId: string, The matter ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700458 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 The object takes the form of:
460
461{ # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700462 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
463 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
464 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
465 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
466 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
467 },
468 ],
469 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
470 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
471 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
472}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700473
474 x__xgafv: string, V1 error format.
475 Allowed values
476 1 - v1 error format
477 2 - v2 error format
478
479Returns:
480 An object of the form:
481
482 { # Represents a matter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700483 &quot;description&quot;: &quot;A String&quot;, # The description of the matter.
484 &quot;matterPermissions&quot;: [ # List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
485 { # Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
486 &quot;accountId&quot;: &quot;A String&quot;, # The account ID, as provided by Admin SDK.
487 &quot;role&quot;: &quot;A String&quot;, # The user&#x27;s role in this matter.
488 },
489 ],
490 &quot;name&quot;: &quot;A String&quot;, # The name of the matter.
491 &quot;matterId&quot;: &quot;A String&quot;, # The matter ID which is generated by the server. Should be blank when creating a new matter.
492 &quot;state&quot;: &quot;A String&quot;, # The state of the matter.
493 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700494</div>
495
496</body></html>