blob: 07c1192a68d1762737f6c7b8f5a42a5c60212881 [file] [log] [blame]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001{
2 "documentationLink": "https://developers.google.com/vault",
3 "canonicalName": "Vault",
4 "auth": {
5 "oauth2": {
6 "scopes": {
7 "https://www.googleapis.com/auth/ediscovery.readonly": {
8 "description": "View your eDiscovery data"
9 },
10 "https://www.googleapis.com/auth/ediscovery": {
11 "description": "Manage your eDiscovery data"
12 }
13 }
14 }
15 },
16 "baseUrl": "https://vault.googleapis.com/",
17 "parameters": {
18 "oauth_token": {
19 "type": "string",
20 "location": "query",
21 "description": "OAuth 2.0 token for the current user."
22 },
23 "prettyPrint": {
24 "type": "boolean",
25 "default": "true",
26 "location": "query",
27 "description": "Returns response with indentations and line breaks."
28 },
29 "alt": {
30 "type": "string",
31 "enum": [
32 "json",
33 "media",
34 "proto"
35 ],
36 "enumDescriptions": [
37 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf"
40 ],
41 "location": "query",
42 "description": "Data format for response.",
43 "default": "json"
44 },
45 "quotaUser": {
46 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
47 "type": "string",
48 "location": "query"
49 },
50 "access_token": {
51 "description": "OAuth access token.",
52 "type": "string",
53 "location": "query"
54 },
55 "$.xgafv": {
56 "enumDescriptions": [
57 "v1 error format",
58 "v2 error format"
59 ],
60 "type": "string",
61 "description": "V1 error format.",
62 "enum": [
63 "1",
64 "2"
65 ],
66 "location": "query"
67 },
68 "upload_protocol": {
69 "location": "query",
70 "type": "string",
71 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
72 },
73 "callback": {
74 "type": "string",
75 "description": "JSONP",
76 "location": "query"
77 },
78 "key": {
79 "location": "query",
80 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
81 "type": "string"
82 },
83 "fields": {
84 "location": "query",
85 "description": "Selector specifying which fields to include in a partial response.",
86 "type": "string"
87 },
88 "uploadType": {
89 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
90 "location": "query",
91 "type": "string"
92 }
93 },
94 "servicePath": "",
95 "schemas": {
96 "Empty": {
97 "type": "object",
98 "description": "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 `{}`.",
99 "id": "Empty",
100 "properties": {}
101 },
102 "ListExportsResponse": {
103 "description": "The holds for a matter.",
104 "properties": {
105 "exports": {
106 "description": "The list of exports.",
107 "type": "array",
108 "items": {
109 "$ref": "Export"
110 }
111 },
112 "nextPageToken": {
113 "type": "string",
114 "description": "Page token to retrieve the next page of results in the list."
115 }
116 },
117 "id": "ListExportsResponse",
118 "type": "object"
119 },
120 "ListSavedQueriesResponse": {
121 "properties": {
122 "savedQueries": {
123 "description": "List of output saved queries.",
124 "type": "array",
125 "items": {
126 "$ref": "SavedQuery"
127 }
128 },
129 "nextPageToken": {
130 "type": "string",
131 "description": "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."
132 }
133 },
134 "id": "ListSavedQueriesResponse",
135 "description": "Definition of the response for method ListSaveQuery.",
136 "type": "object"
137 },
138 "MatterPermission": {
139 "properties": {
140 "role": {
141 "enum": [
142 "ROLE_UNSPECIFIED",
143 "COLLABORATOR",
144 "OWNER"
145 ],
146 "description": "The user's role in this matter.",
147 "type": "string",
148 "enumDescriptions": [
149 "No role assigned.",
150 "A collaborator to the matter.",
151 "The owner of the matter."
152 ]
153 },
154 "accountId": {
155 "description": "The account ID, as provided by Admin SDK.",
156 "type": "string"
157 }
158 },
159 "description": "Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.",
160 "id": "MatterPermission",
161 "type": "object"
162 },
163 "CloseMatterRequest": {
164 "id": "CloseMatterRequest",
165 "description": "Close a matter by ID.",
166 "type": "object",
167 "properties": {}
168 },
169 "HeldOrgUnit": {
170 "properties": {
171 "orgUnitId": {
172 "description": "The org unit's immutable ID as provided by the Admin SDK.",
173 "type": "string"
174 },
175 "holdTime": {
176 "type": "string",
177 "format": "google-datetime",
178 "description": "When the org unit was put on hold. This property is immutable."
179 }
180 },
181 "type": "object",
182 "description": "A organizational unit being held in a particular hold. This structure is immutable.",
183 "id": "HeldOrgUnit"
184 },
185 "AccountInfo": {
186 "description": "Accounts to search",
187 "properties": {
188 "emails": {
189 "type": "array",
190 "description": "A set of accounts to search.",
191 "items": {
192 "type": "string"
193 }
194 }
195 },
196 "id": "AccountInfo",
197 "type": "object"
198 },
199 "ExportOptions": {
200 "type": "object",
201 "properties": {
202 "mailOptions": {
203 "$ref": "MailExportOptions",
204 "description": "Option available for mail export."
205 },
206 "groupsOptions": {
207 "$ref": "GroupsExportOptions",
208 "description": "Option available for groups export."
209 },
210 "voiceOptions": {
211 "description": "Option available for voice export.",
212 "$ref": "VoiceExportOptions"
213 },
214 "hangoutsChatOptions": {
215 "$ref": "HangoutsChatExportOptions",
216 "description": "Option available for hangouts chat export."
217 },
218 "driveOptions": {
219 "description": "Option available for Drive export.",
220 "$ref": "DriveExportOptions"
221 },
222 "region": {
223 "description": "The requested export location.",
224 "enumDescriptions": [
225 "The region is unspecified. Will be treated the same as ANY.",
226 "Any region.",
227 "US region.",
228 "Europe region."
229 ],
230 "enum": [
231 "EXPORT_REGION_UNSPECIFIED",
232 "ANY",
233 "US",
234 "EUROPE"
235 ],
236 "type": "string"
237 }
238 },
239 "id": "ExportOptions",
240 "description": "Export advanced options"
241 },
242 "RemoveHeldAccountsRequest": {
243 "description": "Remove a list of accounts from a hold.",
244 "type": "object",
245 "id": "RemoveHeldAccountsRequest",
246 "properties": {
247 "accountIds": {
248 "type": "array",
249 "items": {
250 "type": "string"
251 },
252 "description": "Account IDs to identify HeldAccounts to remove."
253 }
254 }
255 },
256 "MailExportOptions": {
257 "type": "object",
258 "description": "The options for mail export.",
259 "id": "MailExportOptions",
260 "properties": {
261 "showConfidentialModeContent": {
262 "type": "boolean",
263 "description": "Set to true to export confidential mode content."
264 },
265 "exportFormat": {
266 "enum": [
267 "EXPORT_FORMAT_UNSPECIFIED",
268 "MBOX",
269 "PST"
270 ],
271 "type": "string",
272 "enumDescriptions": [
273 "No export format specified.",
274 "MBOX as export format.",
275 "PST as export format"
276 ],
277 "description": "The export file format."
278 }
279 }
280 },
281 "HeldAccount": {
282 "properties": {
283 "holdTime": {
284 "description": "Output only. When the account was put on hold.",
285 "format": "google-datetime",
286 "type": "string"
287 },
288 "accountId": {
289 "description": "The account's ID as provided by the Admin SDK.",
290 "type": "string"
291 },
292 "firstName": {
293 "type": "string",
294 "description": "Output only. The first name of the account holder."
295 },
296 "lastName": {
297 "type": "string",
298 "description": "Output only. The last name of the account holder."
299 },
300 "email": {
301 "type": "string",
302 "description": "The primary email address of the account. If used as an input, this takes precedence over account ID."
303 }
304 },
305 "id": "HeldAccount",
306 "description": "An account being held in a particular hold. This structure is immutable. This can be either a single user or a google group, depending on the corpus.",
307 "type": "object"
308 },
309 "CloudStorageSink": {
310 "properties": {
311 "files": {
312 "description": "Output only. The exported files on cloud storage.",
313 "type": "array",
314 "items": {
315 "$ref": "CloudStorageFile"
316 }
317 }
318 },
319 "id": "CloudStorageSink",
320 "type": "object",
321 "description": "Export sink for cloud storage files."
322 },
323 "VoiceOptions": {
324 "description": "Voice search options",
325 "properties": {
326 "coveredData": {
327 "items": {
328 "enumDescriptions": [
329 "Covered data unspecified.",
330 "Voice text message will be covered.",
331 "Voicemail will be covered.",
332 "Call logs will be covered."
333 ],
334 "type": "string",
335 "enum": [
336 "COVERED_DATA_UNSPECIFIED",
337 "TEXT_MESSAGES",
338 "VOICEMAILS",
339 "CALL_LOGS"
340 ]
341 },
342 "type": "array",
343 "description": "Datatypes to search"
344 }
345 },
346 "id": "VoiceOptions",
347 "type": "object"
348 },
349 "MailCountResult": {
350 "type": "object",
351 "properties": {
352 "accountCountErrors": {
353 "description": "Error occurred when querying these accounts.",
354 "type": "array",
355 "items": {
356 "$ref": "AccountCountError"
357 }
358 },
359 "accountCounts": {
360 "description": "Subtotal count per matching account that have more than zero messages.",
361 "type": "array",
362 "items": {
363 "$ref": "AccountCount"
364 }
365 },
366 "nonQueryableAccounts": {
367 "description": "When data scope is HELD_DATA in the request Query, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set.",
368 "items": {
369 "type": "string"
370 },
371 "type": "array"
372 },
373 "matchingAccountsCount": {
374 "format": "int64",
375 "type": "string",
376 "description": "Total number of accounts that can be queried and have more than zero messages."
377 },
378 "queriedAccountsCount": {
379 "description": "Total number of accounts involved in this count operation.",
380 "type": "string",
381 "format": "int64"
382 }
383 },
384 "id": "MailCountResult",
385 "description": "Mail specific count metrics."
386 },
387 "ReopenMatterRequest": {
388 "id": "ReopenMatterRequest",
389 "description": "Reopen a matter by ID.",
390 "type": "object",
391 "properties": {}
392 },
393 "HangoutsChatInfo": {
394 "properties": {
395 "roomId": {
396 "items": {
397 "type": "string"
398 },
399 "description": "A set of rooms to search.",
400 "type": "array"
401 }
402 },
403 "type": "object",
404 "id": "HangoutsChatInfo",
405 "description": "Accounts to search"
406 },
407 "ListOperationsResponse": {
408 "id": "ListOperationsResponse",
409 "description": "The response message for Operations.ListOperations.",
410 "properties": {
411 "nextPageToken": {
412 "type": "string",
413 "description": "The standard List next-page token."
414 },
415 "operations": {
416 "type": "array",
417 "items": {
418 "$ref": "Operation"
419 },
420 "description": "A list of operations that matches the specified filter in the request."
421 }
422 },
423 "type": "object"
424 },
425 "CloudStorageFile": {
426 "type": "object",
427 "description": "An export file on cloud storage",
428 "properties": {
429 "size": {
430 "description": "The size of the export file.",
431 "format": "int64",
432 "type": "string"
433 },
434 "bucketName": {
435 "description": "The cloud storage bucket name of this export file. Can be used in cloud storage JSON/XML API, but not to list the bucket contents. Instead, you can get individual export files by object name.",
436 "type": "string"
437 },
438 "md5Hash": {
439 "description": "The md5 hash of the file.",
440 "type": "string"
441 },
442 "objectName": {
443 "type": "string",
444 "description": "The cloud storage object name of this export file. Can be used in cloud storage JSON/XML API."
445 }
446 },
447 "id": "CloudStorageFile"
448 },
449 "RemoveMatterPermissionsRequest": {
450 "type": "object",
451 "properties": {
452 "accountId": {
453 "type": "string",
454 "description": "The account ID."
455 }
456 },
457 "id": "RemoveMatterPermissionsRequest",
458 "description": "Remove an account as a matter collaborator."
459 },
460 "DriveOptions": {
461 "properties": {
462 "includeSharedDrives": {
463 "description": "Set to true to include shared drive.",
464 "type": "boolean"
465 },
466 "versionDate": {
467 "format": "google-datetime",
468 "description": "Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date.",
469 "type": "string"
470 },
471 "includeTeamDrives": {
472 "description": "Set to true to include Team Drive.",
473 "type": "boolean"
474 }
475 },
476 "type": "object",
477 "id": "DriveOptions",
478 "description": "Drive search advanced options"
479 },
480 "Status": {
481 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
482 "properties": {
483 "details": {
484 "type": "array",
485 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
486 "items": {
487 "type": "object",
488 "additionalProperties": {
489 "type": "any",
490 "description": "Properties of the object. Contains field @type with type URL."
491 }
492 }
493 },
494 "code": {
495 "format": "int32",
496 "type": "integer",
497 "description": "The status code, which should be an enum value of google.rpc.Code."
498 },
499 "message": {
500 "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
501 "type": "string"
502 }
503 },
504 "id": "Status",
505 "type": "object"
506 },
507 "Export": {
508 "type": "object",
509 "id": "Export",
510 "properties": {
511 "status": {
512 "type": "string",
513 "enumDescriptions": [
514 "The status is unspecified.",
515 "The export completed.",
516 "The export failed.",
517 "The export is still being executed."
518 ],
519 "description": "Output only. The export status.",
520 "enum": [
521 "EXPORT_STATUS_UNSPECIFIED",
522 "COMPLETED",
523 "FAILED",
524 "IN_PROGRESS"
525 ]
526 },
527 "createTime": {
528 "type": "string",
529 "description": "Output only. The time when the export was created.",
530 "format": "google-datetime"
531 },
532 "stats": {
533 "description": "Output only. Export statistics.",
534 "$ref": "ExportStats"
535 },
536 "id": {
537 "description": "Output only. The generated export ID.",
538 "type": "string"
539 },
540 "query": {
541 "$ref": "Query",
542 "description": "The search query being exported."
543 },
544 "exportOptions": {
545 "$ref": "ExportOptions",
546 "description": "Advanced options of the export."
547 },
548 "requester": {
549 "$ref": "UserInfo",
550 "description": "Output only. The requester of the export."
551 },
552 "name": {
553 "description": "The export name.",
554 "type": "string"
555 },
556 "matterId": {
557 "description": "Output only. The matter ID.",
558 "type": "string"
559 },
560 "cloudStorageSink": {
561 "$ref": "CloudStorageSink",
562 "description": "Output only. Export sink for cloud storage files."
563 }
564 },
565 "description": "An export"
566 },
567 "DriveExportOptions": {
568 "id": "DriveExportOptions",
569 "type": "object",
570 "description": "The options for Drive export.",
571 "properties": {
572 "includeAccessInfo": {
573 "description": "Set to true to include access level information for users with indirect access to files.",
574 "type": "boolean"
575 }
576 }
577 },
578 "ListHeldAccountsResponse": {
579 "properties": {
580 "accounts": {
581 "description": "The held accounts on a hold.",
582 "type": "array",
583 "items": {
584 "$ref": "HeldAccount"
585 }
586 }
587 },
588 "id": "ListHeldAccountsResponse",
589 "type": "object",
590 "description": "Returns a list of held accounts for a hold."
591 },
592 "Matter": {
593 "properties": {
594 "matterId": {
595 "type": "string",
596 "description": "The matter ID which is generated by the server. Should be blank when creating a new matter."
597 },
598 "matterPermissions": {
599 "items": {
600 "$ref": "MatterPermission"
601 },
602 "type": "array",
603 "description": "List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have."
604 },
605 "description": {
606 "type": "string",
607 "description": "The description of the matter."
608 },
609 "name": {
610 "description": "The name of the matter.",
611 "type": "string"
612 },
613 "state": {
614 "type": "string",
615 "enum": [
616 "STATE_UNSPECIFIED",
617 "OPEN",
618 "CLOSED",
619 "DELETED"
620 ],
621 "description": "The state of the matter.",
622 "enumDescriptions": [
623 "The matter has no specified state.",
624 "This matter is open.",
625 "This matter is closed.",
626 "This matter is deleted."
627 ]
628 }
629 },
630 "id": "Matter",
631 "description": "Represents a matter.",
632 "type": "object"
633 },
634 "HangoutsChatExportOptions": {
635 "description": "The options for hangouts chat export.",
636 "type": "object",
637 "properties": {
638 "exportFormat": {
639 "description": "The export format for hangouts chat export.",
640 "enum": [
641 "EXPORT_FORMAT_UNSPECIFIED",
642 "MBOX",
643 "PST"
644 ],
645 "type": "string",
646 "enumDescriptions": [
647 "No export format specified.",
648 "MBOX as export format.",
649 "PST as export format"
650 ]
651 }
652 },
653 "id": "HangoutsChatExportOptions"
654 },
655 "ExportStats": {
656 "type": "object",
657 "id": "ExportStats",
658 "description": "Stats of an export.",
659 "properties": {
660 "totalArtifactCount": {
661 "type": "string",
662 "format": "int64",
663 "description": "The number of documents to be exported."
664 },
665 "exportedArtifactCount": {
666 "format": "int64",
667 "type": "string",
668 "description": "The number of documents already processed by the export."
669 },
670 "sizeInBytes": {
671 "description": "The size of export in bytes.",
672 "type": "string",
673 "format": "int64"
674 }
675 }
676 },
677 "UserInfo": {
678 "properties": {
679 "displayName": {
680 "type": "string",
681 "description": "The displayed name of the user."
682 },
683 "email": {
684 "type": "string",
685 "description": "The email address of the user."
686 }
687 },
688 "description": "User's information.",
689 "type": "object",
690 "id": "UserInfo"
691 },
692 "HeldVoiceQuery": {
693 "type": "object",
694 "id": "HeldVoiceQuery",
695 "properties": {
696 "coveredData": {
697 "description": "Data covered by this rule. Should be non-empty. Order does not matter and duplicates will be ignored.",
698 "type": "array",
699 "items": {
700 "enumDescriptions": [
701 "Covered data unspecified.",
702 "Voice text message will be covered.",
703 "Voicemail will be covered.",
704 "Call logs will be covered."
705 ],
706 "type": "string",
707 "enum": [
708 "COVERED_DATA_UNSPECIFIED",
709 "TEXT_MESSAGES",
710 "VOICEMAILS",
711 "CALL_LOGS"
712 ]
713 }
714 }
715 },
716 "description": "Query options for Voice holds."
717 },
718 "SavedQuery": {
719 "description": "Definition of the saved query.",
720 "type": "object",
721 "properties": {
722 "createTime": {
723 "type": "string",
724 "description": "Output only. The server generated timestamp at which saved query was created.",
725 "format": "google-datetime"
726 },
727 "matterId": {
728 "description": "Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL.",
729 "type": "string"
730 },
731 "displayName": {
732 "description": "Name of the saved query.",
733 "type": "string"
734 },
735 "savedQueryId": {
736 "description": "A unique identifier for the saved query.",
737 "type": "string"
738 },
739 "query": {
740 "$ref": "Query",
741 "description": "The underlying Query object which contains all the information of the saved query."
742 }
743 },
744 "id": "SavedQuery"
745 },
746 "HangoutsChatOptions": {
747 "description": "Hangouts chat search advanced options",
748 "properties": {
749 "includeRooms": {
750 "type": "boolean",
751 "description": "Set to true to include rooms."
752 }
753 },
754 "type": "object",
755 "id": "HangoutsChatOptions"
756 },
757 "AddMatterPermissionsRequest": {
758 "description": "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.",
759 "id": "AddMatterPermissionsRequest",
760 "properties": {
761 "sendEmails": {
762 "description": "True to send notification email to the added account. False to not send notification email.",
763 "type": "boolean"
764 },
765 "ccMe": {
766 "type": "boolean",
767 "description": "Only relevant if send_emails is true. True to CC requestor in the email message. False to not CC requestor."
768 },
769 "matterPermission": {
770 "$ref": "MatterPermission",
771 "description": "The MatterPermission to add."
772 }
773 },
774 "type": "object"
775 },
776 "GroupsExportOptions": {
777 "properties": {
778 "exportFormat": {
779 "enum": [
780 "EXPORT_FORMAT_UNSPECIFIED",
781 "MBOX",
782 "PST"
783 ],
784 "enumDescriptions": [
785 "No export format specified.",
786 "MBOX as export format.",
787 "PST as export format"
788 ],
789 "description": "The export format for groups export.",
790 "type": "string"
791 }
792 },
793 "description": "The options for groups export.",
794 "type": "object",
795 "id": "GroupsExportOptions"
796 },
797 "ListMattersResponse": {
798 "properties": {
799 "matters": {
800 "type": "array",
801 "description": "List of matters.",
802 "items": {
803 "$ref": "Matter"
804 }
805 },
806 "nextPageToken": {
807 "type": "string",
808 "description": "Page token to retrieve the next page of results in the list."
809 }
810 },
811 "id": "ListMattersResponse",
812 "type": "object",
813 "description": "Provides the list of matters."
814 },
815 "CountArtifactsResponse": {
816 "properties": {
817 "groupsCountResult": {
818 "description": "Count metrics of Groups.",
819 "$ref": "GroupsCountResult"
820 },
821 "mailCountResult": {
822 "description": "Count metrics of Mail.",
823 "$ref": "MailCountResult"
824 },
825 "totalCount": {
826 "format": "int64",
827 "description": "Total count of artifacts. For mail and groups, artifacts refers to messages.",
828 "type": "string"
829 }
830 },
831 "description": "Definition of the response for method CountArtifacts.",
832 "type": "object",
833 "id": "CountArtifactsResponse"
834 },
835 "CancelOperationRequest": {
836 "properties": {},
837 "type": "object",
838 "id": "CancelOperationRequest",
839 "description": "The request message for Operations.CancelOperation."
840 },
841 "HeldMailQuery": {
842 "properties": {
843 "terms": {
844 "description": "The search terms for the hold.",
845 "type": "string"
846 },
847 "startTime": {
848 "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.",
849 "type": "string",
850 "format": "google-datetime"
851 },
852 "endTime": {
853 "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.",
854 "format": "google-datetime",
855 "type": "string"
856 }
857 },
858 "type": "object",
859 "description": "Query options for mail holds.",
860 "id": "HeldMailQuery"
861 },
862 "OrgUnitInfo": {
863 "id": "OrgUnitInfo",
864 "description": "Org Unit to search",
865 "properties": {
866 "orgUnitId": {
867 "type": "string",
868 "description": "Org unit to search, as provided by the Admin SDK Directory API."
869 }
870 },
871 "type": "object"
872 },
873 "RemoveHeldAccountsResponse": {
874 "type": "object",
875 "properties": {
876 "statuses": {
877 "description": "A list of statuses for deleted accounts. Results have the same order as the request.",
878 "items": {
879 "$ref": "Status"
880 },
881 "type": "array"
882 }
883 },
884 "description": "Response for batch delete held accounts.",
885 "id": "RemoveHeldAccountsResponse"
886 },
887 "ListHoldsResponse": {
888 "id": "ListHoldsResponse",
889 "type": "object",
890 "properties": {
891 "nextPageToken": {
892 "description": "Page token to retrieve the next page of results in the list. If this is empty, then there are no more holds to list.",
893 "type": "string"
894 },
895 "holds": {
896 "items": {
897 "$ref": "Hold"
898 },
899 "type": "array",
900 "description": "The list of holds."
901 }
902 },
903 "description": "The holds for a matter."
904 },
905 "CloseMatterResponse": {
906 "properties": {
907 "matter": {
908 "description": "The updated matter, with state CLOSED.",
909 "$ref": "Matter"
910 }
911 },
912 "description": "Response to a CloseMatterRequest.",
913 "id": "CloseMatterResponse",
914 "type": "object"
915 },
916 "AddHeldAccountsResponse": {
917 "type": "object",
918 "description": "Response for batch create held accounts.",
919 "id": "AddHeldAccountsResponse",
920 "properties": {
921 "responses": {
922 "items": {
923 "$ref": "AddHeldAccountResult"
924 },
925 "type": "array",
926 "description": "The list of responses, in the same order as the batch request."
927 }
928 }
929 },
930 "Query": {
931 "description": "A query definition relevant for search & export.",
932 "type": "object",
933 "id": "Query",
934 "properties": {
935 "driveOptions": {
936 "$ref": "DriveOptions",
937 "description": "For Drive search, specify more options in this field."
938 },
939 "voiceOptions": {
940 "description": "For voice search, specify more options in this field.",
941 "$ref": "VoiceOptions"
942 },
943 "sharedDriveInfo": {
944 "$ref": "SharedDriveInfo",
945 "description": "When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified."
946 },
947 "dataScope": {
948 "type": "string",
949 "description": "The data source to search from.",
950 "enumDescriptions": [
951 "No data scope specified.",
952 "All available data.",
953 "Data on hold.",
954 "Data not processed."
955 ],
956 "enum": [
957 "DATA_SCOPE_UNSPECIFIED",
958 "ALL_DATA",
959 "HELD_DATA",
960 "UNPROCESSED_DATA"
961 ]
962 },
963 "timeZone": {
964 "description": "The time zone name. It should be an IANA TZ name, such as \"America/Los_Angeles\". For more information, see Time Zone.",
965 "type": "string"
966 },
967 "accountInfo": {
968 "$ref": "AccountInfo",
969 "description": "When 'ACCOUNT' is chosen as search method, account_info needs to be specified."
970 },
971 "mailOptions": {
972 "description": "For mail search, specify more options in this field.",
973 "$ref": "MailOptions"
974 },
975 "endTime": {
976 "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.",
977 "format": "google-datetime",
978 "type": "string"
979 },
980 "method": {
981 "description": "The search method to use. This field is similar to the search_method field but is introduced to support shared drives. It supports all search method types. In case the search_method is TEAM_DRIVE the response of this field will be SHARED_DRIVE only.",
982 "enum": [
983 "SEARCH_METHOD_UNSPECIFIED",
984 "ACCOUNT",
985 "ORG_UNIT",
986 "TEAM_DRIVE",
987 "ENTIRE_ORG",
988 "ROOM",
989 "SHARED_DRIVE"
990 ],
991 "type": "string",
992 "enumDescriptions": [
993 "A search method must be specified. If a request does not specify a search method, it will be rejected.",
994 "Will search all accounts provided in account_info.",
995 "Will search all accounts in the OU specified in org_unit_info.",
996 "Will search for all accounts in the Team Drive specified in team_drive_info.",
997 "Will search for all accounts in the organization. No need to set account_info or org_unit_info.",
998 "Will search in the Room specified in hangout_chats_info. (read-only)",
999 "Will search for all accounts in the shared drive specified in shared_drive_info."
1000 ]
1001 },
1002 "startTime": {
1003 "format": "google-datetime",
1004 "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.",
1005 "type": "string"
1006 },
1007 "hangoutsChatOptions": {
1008 "$ref": "HangoutsChatOptions",
1009 "description": "For hangouts chat search, specify more options in this field. (read-only)"
1010 },
1011 "orgUnitInfo": {
1012 "$ref": "OrgUnitInfo",
1013 "description": "When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified."
1014 },
1015 "corpus": {
1016 "enumDescriptions": [
1017 "No corpus specified.",
1018 "Drive.",
1019 "Mail.",
1020 "Groups.",
1021 "Hangouts Chat.",
1022 "Google Voice."
1023 ],
1024 "enum": [
1025 "CORPUS_TYPE_UNSPECIFIED",
1026 "DRIVE",
1027 "MAIL",
1028 "GROUPS",
1029 "HANGOUTS_CHAT",
1030 "VOICE"
1031 ],
1032 "description": "The corpus to search.",
1033 "type": "string"
1034 },
1035 "teamDriveInfo": {
1036 "description": "When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified.",
1037 "$ref": "TeamDriveInfo"
1038 },
1039 "hangoutsChatInfo": {
1040 "$ref": "HangoutsChatInfo",
1041 "description": "When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only)"
1042 },
1043 "terms": {
1044 "description": "The corpus-specific search operators used to generate search results.",
1045 "type": "string"
1046 },
1047 "searchMethod": {
1048 "enumDescriptions": [
1049 "A search method must be specified. If a request does not specify a search method, it will be rejected.",
1050 "Will search all accounts provided in account_info.",
1051 "Will search all accounts in the OU specified in org_unit_info.",
1052 "Will search for all accounts in the Team Drive specified in team_drive_info.",
1053 "Will search for all accounts in the organization. No need to set account_info or org_unit_info.",
1054 "Will search in the Room specified in hangout_chats_info. (read-only)",
1055 "Will search for all accounts in the shared drive specified in shared_drive_info."
1056 ],
1057 "type": "string",
1058 "enum": [
1059 "SEARCH_METHOD_UNSPECIFIED",
1060 "ACCOUNT",
1061 "ORG_UNIT",
1062 "TEAM_DRIVE",
1063 "ENTIRE_ORG",
1064 "ROOM",
1065 "SHARED_DRIVE"
1066 ],
1067 "description": "The search method to use."
1068 }
1069 }
1070 },
1071 "CountArtifactsMetadata": {
1072 "description": "Long running operation metadata for CountArtifacts.",
1073 "id": "CountArtifactsMetadata",
1074 "properties": {
1075 "query": {
1076 "$ref": "Query",
1077 "description": "The search query from the request."
1078 },
1079 "matterId": {
1080 "description": "The matter ID of the associated matter.",
1081 "type": "string"
1082 },
1083 "endTime": {
1084 "type": "string",
1085 "description": "End time of count operation. Available when operation is done.",
1086 "format": "google-datetime"
1087 },
1088 "startTime": {
1089 "format": "google-datetime",
1090 "description": "Creation time of count operation.",
1091 "type": "string"
1092 }
1093 },
1094 "type": "object"
1095 },
1096 "HeldHangoutsChatQuery": {
1097 "description": "Query options for hangouts chat holds.",
1098 "id": "HeldHangoutsChatQuery",
1099 "properties": {
1100 "includeRooms": {
1101 "type": "boolean",
1102 "description": "If true, include rooms the user has participated in."
1103 }
1104 },
1105 "type": "object"
1106 },
1107 "HeldGroupsQuery": {
1108 "id": "HeldGroupsQuery",
1109 "description": "Query options for group holds.",
1110 "type": "object",
1111 "properties": {
1112 "endTime": {
1113 "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.",
1114 "format": "google-datetime",
1115 "type": "string"
1116 },
1117 "terms": {
1118 "description": "The search terms for the hold.",
1119 "type": "string"
1120 },
1121 "startTime": {
1122 "format": "google-datetime",
1123 "type": "string",
1124 "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date."
1125 }
1126 }
1127 },
1128 "Hold": {
1129 "description": "Represents a hold within Vault. A hold restricts purging of artifacts based on the combination of the query and accounts restrictions. A hold can be configured to either apply to an explicitly configured set of accounts, or can be applied to all members of an organizational unit.",
1130 "id": "Hold",
1131 "type": "object",
1132 "properties": {
1133 "updateTime": {
1134 "format": "google-datetime",
1135 "type": "string",
1136 "description": "The last time this hold was modified."
1137 },
1138 "name": {
1139 "description": "The name of the hold.",
1140 "type": "string"
1141 },
1142 "orgUnit": {
1143 "description": "If set, the hold applies to all members of the organizational unit and accounts must be empty. This property is mutable. For groups holds, set the accounts field.",
1144 "$ref": "HeldOrgUnit"
1145 },
1146 "query": {
1147 "description": "The corpus-specific query. If set, the corpusQuery must match corpus type.",
1148 "$ref": "CorpusQuery"
1149 },
1150 "accounts": {
1151 "description": "If set, the hold applies to the enumerated accounts and org_unit must be empty.",
1152 "type": "array",
1153 "items": {
1154 "$ref": "HeldAccount"
1155 }
1156 },
1157 "holdId": {
1158 "type": "string",
1159 "description": "The unique immutable ID of the hold. Assigned during creation."
1160 },
1161 "corpus": {
1162 "enumDescriptions": [
1163 "No corpus specified.",
1164 "Drive.",
1165 "Mail.",
1166 "Groups.",
1167 "Hangouts Chat.",
1168 "Google Voice."
1169 ],
1170 "enum": [
1171 "CORPUS_TYPE_UNSPECIFIED",
1172 "DRIVE",
1173 "MAIL",
1174 "GROUPS",
1175 "HANGOUTS_CHAT",
1176 "VOICE"
1177 ],
1178 "description": "The corpus to be searched.",
1179 "type": "string"
1180 }
1181 }
1182 },
1183 "Operation": {
1184 "properties": {
1185 "metadata": {
1186 "type": "object",
1187 "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
1188 "additionalProperties": {
1189 "type": "any",
1190 "description": "Properties of the object. Contains field @type with type URL."
1191 }
1192 },
1193 "response": {
1194 "additionalProperties": {
1195 "type": "any",
1196 "description": "Properties of the object. Contains field @type with type URL."
1197 },
1198 "type": "object",
1199 "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`."
1200 },
1201 "error": {
1202 "$ref": "Status",
1203 "description": "The error result of the operation in case of failure or cancellation."
1204 },
1205 "name": {
1206 "type": "string",
1207 "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`."
1208 },
1209 "done": {
1210 "type": "boolean",
1211 "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available."
1212 }
1213 },
1214 "type": "object",
1215 "description": "This resource represents a long-running operation that is the result of a network API call.",
1216 "id": "Operation"
1217 },
1218 "HeldDriveQuery": {
1219 "description": "Query options for Drive holds.",
1220 "type": "object",
1221 "properties": {
1222 "includeSharedDriveFiles": {
1223 "type": "boolean",
1224 "description": "If true, include files in shared drives in the hold."
1225 },
1226 "includeTeamDriveFiles": {
1227 "description": "If true, include files in Team Drives in the hold.",
1228 "type": "boolean"
1229 }
1230 },
1231 "id": "HeldDriveQuery"
1232 },
1233 "CountArtifactsRequest": {
1234 "description": "Count artifacts request.",
1235 "properties": {
1236 "query": {
1237 "$ref": "Query",
1238 "description": "The search query."
1239 },
1240 "view": {
1241 "type": "string",
1242 "description": "Specifies the granularity of the count result returned in response.",
1243 "enum": [
1244 "COUNT_RESULT_VIEW_UNSPECIFIED",
1245 "TOTAL_COUNT",
1246 "ALL"
1247 ],
1248 "enumDescriptions": [
1249 "Default. It works the same as TOTAL_COUNT.",
1250 "Response includes: total count, queried accounts count, matching accounts count, non-queryable accounts, queried account errors.",
1251 "Response includes additional breakdown of account count."
1252 ]
1253 }
1254 },
1255 "id": "CountArtifactsRequest",
1256 "type": "object"
1257 },
1258 "UndeleteMatterRequest": {
1259 "properties": {},
1260 "type": "object",
1261 "description": "Undelete a matter by ID.",
1262 "id": "UndeleteMatterRequest"
1263 },
1264 "TeamDriveInfo": {
1265 "id": "TeamDriveInfo",
1266 "description": "Team Drives to search",
1267 "type": "object",
1268 "properties": {
1269 "teamDriveIds": {
1270 "type": "array",
1271 "items": {
1272 "type": "string"
1273 },
1274 "description": "List of Team Drive IDs, as provided by Drive API."
1275 }
1276 }
1277 },
1278 "AddHeldAccountResult": {
1279 "id": "AddHeldAccountResult",
1280 "description": "A status detailing the status of each account creation, and the HeldAccount, if successful.",
1281 "properties": {
1282 "status": {
1283 "description": "This represents the success status. If failed, check message.",
1284 "$ref": "Status"
1285 },
1286 "account": {
1287 "description": "If present, this account was successfully created.",
1288 "$ref": "HeldAccount"
1289 }
1290 },
1291 "type": "object"
1292 },
1293 "GroupsCountResult": {
1294 "description": "Groups specific count metrics.",
1295 "id": "GroupsCountResult",
1296 "properties": {
1297 "nonQueryableAccounts": {
1298 "description": "When data scope is HELD_DATA in the request Query, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set.",
1299 "items": {
1300 "type": "string"
1301 },
1302 "type": "array"
1303 },
1304 "accountCounts": {
1305 "description": "Subtotal count per matching account that have more than zero messages.",
1306 "items": {
1307 "$ref": "AccountCount"
1308 },
1309 "type": "array"
1310 },
1311 "matchingAccountsCount": {
1312 "format": "int64",
1313 "description": "Total number of accounts that can be queried and have more than zero messages.",
1314 "type": "string"
1315 },
1316 "accountCountErrors": {
1317 "description": "Error occurred when querying these accounts.",
1318 "items": {
1319 "$ref": "AccountCountError"
1320 },
1321 "type": "array"
1322 },
1323 "queriedAccountsCount": {
1324 "type": "string",
1325 "format": "int64",
1326 "description": "Total number of accounts involved in this count operation."
1327 }
1328 },
1329 "type": "object"
1330 },
1331 "CorpusQuery": {
1332 "description": "Corpus specific queries.",
1333 "id": "CorpusQuery",
1334 "type": "object",
1335 "properties": {
1336 "driveQuery": {
1337 "description": "Details pertaining to Drive holds. If set, corpus must be Drive.",
1338 "$ref": "HeldDriveQuery"
1339 },
1340 "hangoutsChatQuery": {
1341 "$ref": "HeldHangoutsChatQuery",
1342 "description": "Details pertaining to Hangouts Chat holds. If set, corpus must be Hangouts Chat."
1343 },
1344 "groupsQuery": {
1345 "description": "Details pertaining to Groups holds. If set, corpus must be Groups.",
1346 "$ref": "HeldGroupsQuery"
1347 },
1348 "voiceQuery": {
1349 "$ref": "HeldVoiceQuery",
1350 "description": "Details pertaining to Voice holds. If set, corpus must be Voice."
1351 },
1352 "mailQuery": {
1353 "$ref": "HeldMailQuery",
1354 "description": "Details pertaining to mail holds. If set, corpus must be mail."
1355 }
1356 }
1357 },
1358 "VoiceExportOptions": {
1359 "description": "The options for voice export.",
1360 "type": "object",
1361 "id": "VoiceExportOptions",
1362 "properties": {
1363 "exportFormat": {
1364 "enumDescriptions": [
1365 "No export format specified.",
1366 "MBOX as export format.",
1367 "PST as export format"
1368 ],
1369 "description": "The export format for voice export.",
1370 "type": "string",
1371 "enum": [
1372 "EXPORT_FORMAT_UNSPECIFIED",
1373 "MBOX",
1374 "PST"
1375 ]
1376 }
1377 }
1378 },
1379 "SharedDriveInfo": {
1380 "description": "Shared drives to search",
1381 "type": "object",
1382 "properties": {
1383 "sharedDriveIds": {
1384 "items": {
1385 "type": "string"
1386 },
1387 "type": "array",
1388 "description": "List of Shared drive IDs, as provided by Drive API."
1389 }
1390 },
1391 "id": "SharedDriveInfo"
1392 },
1393 "AddHeldAccountsRequest": {
1394 "properties": {
1395 "emails": {
1396 "description": "Emails to identify which accounts to add. Only emails or only account_ids should be specified, but not both.",
1397 "items": {
1398 "type": "string"
1399 },
1400 "type": "array"
1401 },
1402 "accountIds": {
1403 "description": "Account IDs to identify which accounts to add. Only account_ids or only emails should be specified, but not both.",
1404 "type": "array",
1405 "items": {
1406 "type": "string"
1407 }
1408 }
1409 },
1410 "type": "object",
1411 "description": "Add a list of accounts to a hold.",
1412 "id": "AddHeldAccountsRequest"
1413 },
1414 "ReopenMatterResponse": {
1415 "properties": {
1416 "matter": {
1417 "description": "The updated matter, with state OPEN.",
1418 "$ref": "Matter"
1419 }
1420 },
1421 "type": "object",
1422 "id": "ReopenMatterResponse",
1423 "description": "Response to a ReopenMatterRequest."
1424 },
1425 "MailOptions": {
1426 "description": "Mail search advanced options",
1427 "properties": {
1428 "excludeDrafts": {
1429 "description": "Set to true to exclude drafts.",
1430 "type": "boolean"
1431 }
1432 },
1433 "id": "MailOptions",
1434 "type": "object"
1435 },
1436 "AccountCount": {
1437 "properties": {
1438 "account": {
1439 "$ref": "UserInfo",
1440 "description": "Account owner."
1441 },
1442 "count": {
1443 "description": "The number of artifacts found for this account.",
1444 "type": "string",
1445 "format": "int64"
1446 }
1447 },
1448 "type": "object",
1449 "description": "Count number for each account.",
1450 "id": "AccountCount"
1451 },
1452 "AccountCountError": {
1453 "description": "An error that occurred when querying a specific account",
1454 "properties": {
1455 "account": {
1456 "$ref": "UserInfo",
1457 "description": "Account owner."
1458 },
1459 "errorType": {
1460 "enumDescriptions": [
1461 "Default.",
1462 "Permanent - prefix terms expanded to too many query terms.",
1463 "Permanent - query contains too many terms.",
1464 "Transient - data in transit between storage replicas, temporarily unavailable.",
1465 "Unrecognized error.",
1466 "Deadline exceeded when querying the account."
1467 ],
1468 "type": "string",
1469 "description": "Account query error.",
1470 "enum": [
1471 "ERROR_TYPE_UNSPECIFIED",
1472 "WILDCARD_TOO_BROAD",
1473 "TOO_MANY_TERMS",
1474 "LOCATION_UNAVAILABLE",
1475 "UNKNOWN",
1476 "DEADLINE_EXCEEDED"
1477 ]
1478 }
1479 },
1480 "type": "object",
1481 "id": "AccountCountError"
1482 }
1483 },
1484 "mtlsRootUrl": "https://vault.mtls.googleapis.com/",
1485 "resources": {
1486 "operations": {
1487 "methods": {
1488 "delete": {
1489 "response": {
1490 "$ref": "Empty"
1491 },
1492 "id": "vault.operations.delete",
1493 "parameters": {
1494 "name": {
1495 "description": "The name of the operation resource to be deleted.",
1496 "location": "path",
1497 "pattern": "^operations/.*$",
1498 "type": "string",
1499 "required": true
1500 }
1501 },
1502 "parameterOrder": [
1503 "name"
1504 ],
1505 "httpMethod": "DELETE",
1506 "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
1507 "path": "v1/{+name}",
1508 "flatPath": "v1/operations/{operationsId}"
1509 },
1510 "get": {
1511 "httpMethod": "GET",
1512 "flatPath": "v1/operations/{operationsId}",
1513 "parameters": {
1514 "name": {
1515 "pattern": "^operations/.*$",
1516 "description": "The name of the operation resource.",
1517 "required": true,
1518 "location": "path",
1519 "type": "string"
1520 }
1521 },
1522 "path": "v1/{+name}",
1523 "response": {
1524 "$ref": "Operation"
1525 },
1526 "id": "vault.operations.get",
1527 "scopes": [
1528 "https://www.googleapis.com/auth/ediscovery",
1529 "https://www.googleapis.com/auth/ediscovery.readonly"
1530 ],
1531 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
1532 "parameterOrder": [
1533 "name"
1534 ]
1535 },
1536 "list": {
1537 "path": "v1/{+name}",
1538 "flatPath": "v1/operations",
1539 "id": "vault.operations.list",
1540 "httpMethod": "GET",
1541 "response": {
1542 "$ref": "ListOperationsResponse"
1543 },
1544 "parameters": {
1545 "pageToken": {
1546 "location": "query",
1547 "description": "The standard list page token.",
1548 "type": "string"
1549 },
1550 "pageSize": {
1551 "location": "query",
1552 "description": "The standard list page size.",
1553 "format": "int32",
1554 "type": "integer"
1555 },
1556 "filter": {
1557 "type": "string",
1558 "description": "The standard list filter.",
1559 "location": "query"
1560 },
1561 "name": {
1562 "required": true,
1563 "type": "string",
1564 "description": "The name of the operation's parent resource.",
1565 "location": "path",
1566 "pattern": "^operations$"
1567 }
1568 },
1569 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
1570 "parameterOrder": [
1571 "name"
1572 ]
1573 },
1574 "cancel": {
1575 "response": {
1576 "$ref": "Empty"
1577 },
1578 "path": "v1/{+name}:cancel",
1579 "id": "vault.operations.cancel",
1580 "httpMethod": "POST",
1581 "flatPath": "v1/operations/{operationsId}:cancel",
1582 "request": {
1583 "$ref": "CancelOperationRequest"
1584 },
1585 "parameterOrder": [
1586 "name"
1587 ],
1588 "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1589 "parameters": {
1590 "name": {
1591 "pattern": "^operations/.*$",
1592 "required": true,
1593 "location": "path",
1594 "description": "The name of the operation resource to be cancelled.",
1595 "type": "string"
1596 }
1597 }
1598 }
1599 }
1600 },
1601 "matters": {
1602 "resources": {
1603 "savedQueries": {
1604 "methods": {
1605 "delete": {
1606 "httpMethod": "DELETE",
1607 "path": "v1/matters/{matterId}/savedQueries/{savedQueryId}",
1608 "description": "Deletes a saved query by Id.",
1609 "scopes": [
1610 "https://www.googleapis.com/auth/ediscovery"
1611 ],
1612 "response": {
1613 "$ref": "Empty"
1614 },
1615 "parameters": {
1616 "matterId": {
1617 "location": "path",
1618 "required": true,
1619 "type": "string",
1620 "description": "The matter ID of the parent matter for which the saved query is to be deleted."
1621 },
1622 "savedQueryId": {
1623 "required": true,
1624 "location": "path",
1625 "description": "ID of the saved query to be deleted.",
1626 "type": "string"
1627 }
1628 },
1629 "parameterOrder": [
1630 "matterId",
1631 "savedQueryId"
1632 ],
1633 "id": "vault.matters.savedQueries.delete",
1634 "flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}"
1635 },
1636 "create": {
1637 "parameters": {
1638 "matterId": {
1639 "location": "path",
1640 "description": "The matter ID of the parent matter for which the saved query is to be created.",
1641 "required": true,
1642 "type": "string"
1643 }
1644 },
1645 "response": {
1646 "$ref": "SavedQuery"
1647 },
1648 "httpMethod": "POST",
1649 "scopes": [
1650 "https://www.googleapis.com/auth/ediscovery"
1651 ],
1652 "id": "vault.matters.savedQueries.create",
1653 "flatPath": "v1/matters/{matterId}/savedQueries",
1654 "path": "v1/matters/{matterId}/savedQueries",
1655 "parameterOrder": [
1656 "matterId"
1657 ],
1658 "request": {
1659 "$ref": "SavedQuery"
1660 },
1661 "description": "Creates a saved query."
1662 },
1663 "list": {
1664 "flatPath": "v1/matters/{matterId}/savedQueries",
1665 "httpMethod": "GET",
1666 "description": "Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.",
1667 "parameterOrder": [
1668 "matterId"
1669 ],
1670 "id": "vault.matters.savedQueries.list",
1671 "response": {
1672 "$ref": "ListSavedQueriesResponse"
1673 },
1674 "path": "v1/matters/{matterId}/savedQueries",
1675 "parameters": {
1676 "pageToken": {
1677 "location": "query",
1678 "description": "The pagination token as returned in the previous response. An empty token means start from the beginning.",
1679 "type": "string"
1680 },
1681 "matterId": {
1682 "required": true,
1683 "description": "The matter ID of the parent matter for which the saved queries are to be retrieved.",
1684 "location": "path",
1685 "type": "string"
1686 },
1687 "pageSize": {
1688 "location": "query",
1689 "description": "The maximum number of saved queries to return.",
1690 "type": "integer",
1691 "format": "int32"
1692 }
1693 },
1694 "scopes": [
1695 "https://www.googleapis.com/auth/ediscovery",
1696 "https://www.googleapis.com/auth/ediscovery.readonly"
1697 ]
1698 },
1699 "get": {
1700 "id": "vault.matters.savedQueries.get",
1701 "parameterOrder": [
1702 "matterId",
1703 "savedQueryId"
1704 ],
1705 "scopes": [
1706 "https://www.googleapis.com/auth/ediscovery",
1707 "https://www.googleapis.com/auth/ediscovery.readonly"
1708 ],
1709 "description": "Retrieves a saved query by Id.",
1710 "parameters": {
1711 "savedQueryId": {
1712 "required": true,
1713 "location": "path",
1714 "type": "string",
1715 "description": "ID of the saved query to be retrieved."
1716 },
1717 "matterId": {
1718 "required": true,
1719 "description": "The matter ID of the parent matter for which the saved query is to be retrieved.",
1720 "location": "path",
1721 "type": "string"
1722 }
1723 },
1724 "path": "v1/matters/{matterId}/savedQueries/{savedQueryId}",
1725 "response": {
1726 "$ref": "SavedQuery"
1727 },
1728 "flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}",
1729 "httpMethod": "GET"
1730 }
1731 }
1732 },
1733 "holds": {
1734 "resources": {
1735 "accounts": {
1736 "methods": {
1737 "delete": {
1738 "httpMethod": "DELETE",
1739 "scopes": [
1740 "https://www.googleapis.com/auth/ediscovery"
1741 ],
1742 "response": {
1743 "$ref": "Empty"
1744 },
1745 "parameterOrder": [
1746 "matterId",
1747 "holdId",
1748 "accountId"
1749 ],
1750 "description": "Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.",
1751 "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}",
1752 "path": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}",
1753 "parameters": {
1754 "holdId": {
1755 "required": true,
1756 "location": "path",
1757 "description": "The hold ID.",
1758 "type": "string"
1759 },
1760 "accountId": {
1761 "type": "string",
1762 "required": true,
1763 "location": "path",
1764 "description": "The ID of the account to remove from the hold."
1765 },
1766 "matterId": {
1767 "description": "The matter ID.",
1768 "required": true,
1769 "location": "path",
1770 "type": "string"
1771 }
1772 },
1773 "id": "vault.matters.holds.accounts.delete"
1774 },
1775 "create": {
1776 "response": {
1777 "$ref": "HeldAccount"
1778 },
1779 "request": {
1780 "$ref": "HeldAccount"
1781 },
1782 "parameterOrder": [
1783 "matterId",
1784 "holdId"
1785 ],
1786 "scopes": [
1787 "https://www.googleapis.com/auth/ediscovery"
1788 ],
1789 "description": "Adds a HeldAccount to a hold. Accounts can only be added to a hold that has no held_org_unit set. Attempting to add an account to an OU-based hold will result in an error.",
1790 "parameters": {
1791 "holdId": {
1792 "type": "string",
1793 "required": true,
1794 "description": "The hold ID.",
1795 "location": "path"
1796 },
1797 "matterId": {
1798 "type": "string",
1799 "location": "path",
1800 "required": true,
1801 "description": "The matter ID."
1802 }
1803 },
1804 "path": "v1/matters/{matterId}/holds/{holdId}/accounts",
1805 "httpMethod": "POST",
1806 "id": "vault.matters.holds.accounts.create",
1807 "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts"
1808 },
1809 "list": {
1810 "path": "v1/matters/{matterId}/holds/{holdId}/accounts",
1811 "httpMethod": "GET",
1812 "parameterOrder": [
1813 "matterId",
1814 "holdId"
1815 ],
1816 "parameters": {
1817 "matterId": {
1818 "location": "path",
1819 "type": "string",
1820 "description": "The matter ID.",
1821 "required": true
1822 },
1823 "holdId": {
1824 "location": "path",
1825 "description": "The hold ID.",
1826 "type": "string",
1827 "required": true
1828 }
1829 },
1830 "id": "vault.matters.holds.accounts.list",
1831 "description": "Lists HeldAccounts for a hold. This will only list individually specified held accounts. If the hold is on an OU, then use Admin SDK to enumerate its members.",
1832 "scopes": [
1833 "https://www.googleapis.com/auth/ediscovery",
1834 "https://www.googleapis.com/auth/ediscovery.readonly"
1835 ],
1836 "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts",
1837 "response": {
1838 "$ref": "ListHeldAccountsResponse"
1839 }
1840 }
1841 }
1842 }
1843 },
1844 "methods": {
1845 "addHeldAccounts": {
1846 "scopes": [
1847 "https://www.googleapis.com/auth/ediscovery"
1848 ],
1849 "request": {
1850 "$ref": "AddHeldAccountsRequest"
1851 },
1852 "path": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts",
1853 "description": "Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.",
1854 "httpMethod": "POST",
1855 "parameters": {
1856 "holdId": {
1857 "type": "string",
1858 "description": "The hold ID.",
1859 "required": true,
1860 "location": "path"
1861 },
1862 "matterId": {
1863 "description": "The matter ID.",
1864 "location": "path",
1865 "type": "string",
1866 "required": true
1867 }
1868 },
1869 "id": "vault.matters.holds.addHeldAccounts",
1870 "flatPath": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts",
1871 "parameterOrder": [
1872 "matterId",
1873 "holdId"
1874 ],
1875 "response": {
1876 "$ref": "AddHeldAccountsResponse"
1877 }
1878 },
1879 "create": {
1880 "httpMethod": "POST",
1881 "path": "v1/matters/{matterId}/holds",
1882 "parameters": {
1883 "matterId": {
1884 "required": true,
1885 "location": "path",
1886 "description": "The matter ID.",
1887 "type": "string"
1888 }
1889 },
1890 "flatPath": "v1/matters/{matterId}/holds",
1891 "parameterOrder": [
1892 "matterId"
1893 ],
1894 "description": "Creates a hold in the given matter.",
1895 "response": {
1896 "$ref": "Hold"
1897 },
1898 "scopes": [
1899 "https://www.googleapis.com/auth/ediscovery"
1900 ],
1901 "id": "vault.matters.holds.create",
1902 "request": {
1903 "$ref": "Hold"
1904 }
1905 },
1906 "removeHeldAccounts": {
1907 "parameterOrder": [
1908 "matterId",
1909 "holdId"
1910 ],
1911 "request": {
1912 "$ref": "RemoveHeldAccountsRequest"
1913 },
1914 "parameters": {
1915 "holdId": {
1916 "location": "path",
1917 "type": "string",
1918 "required": true,
1919 "description": "The hold ID."
1920 },
1921 "matterId": {
1922 "location": "path",
1923 "required": true,
1924 "type": "string",
1925 "description": "The matter ID."
1926 }
1927 },
1928 "scopes": [
1929 "https://www.googleapis.com/auth/ediscovery"
1930 ],
1931 "httpMethod": "POST",
1932 "id": "vault.matters.holds.removeHeldAccounts",
1933 "path": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts",
1934 "flatPath": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts",
1935 "description": "Removes HeldAccounts from a hold. Returns a list of statuses in the same order as the request. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.",
1936 "response": {
1937 "$ref": "RemoveHeldAccountsResponse"
1938 }
1939 },
1940 "get": {
1941 "description": "Gets a hold by ID.",
1942 "id": "vault.matters.holds.get",
1943 "path": "v1/matters/{matterId}/holds/{holdId}",
1944 "parameterOrder": [
1945 "matterId",
1946 "holdId"
1947 ],
1948 "parameters": {
1949 "view": {
1950 "enum": [
1951 "HOLD_VIEW_UNSPECIFIED",
1952 "BASIC_HOLD",
1953 "FULL_HOLD"
1954 ],
1955 "description": "Specifies which parts of the Hold to return.",
1956 "location": "query",
1957 "type": "string",
1958 "enumDescriptions": [
1959 "There is no specified view. Defaults to FULL_HOLD.",
1960 "Response includes the id, name, update time, corpus, and query.",
1961 "Full representation of a Hold. Response includes all fields of 'BASIC' and the entities the Hold applies to, such as accounts, or OU."
1962 ]
1963 },
1964 "holdId": {
1965 "required": true,
1966 "type": "string",
1967 "location": "path",
1968 "description": "The hold ID."
1969 },
1970 "matterId": {
1971 "required": true,
1972 "type": "string",
1973 "location": "path",
1974 "description": "The matter ID."
1975 }
1976 },
1977 "scopes": [
1978 "https://www.googleapis.com/auth/ediscovery",
1979 "https://www.googleapis.com/auth/ediscovery.readonly"
1980 ],
1981 "flatPath": "v1/matters/{matterId}/holds/{holdId}",
1982 "httpMethod": "GET",
1983 "response": {
1984 "$ref": "Hold"
1985 }
1986 },
1987 "update": {
1988 "parameterOrder": [
1989 "matterId",
1990 "holdId"
1991 ],
1992 "request": {
1993 "$ref": "Hold"
1994 },
1995 "description": "Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.",
1996 "scopes": [
1997 "https://www.googleapis.com/auth/ediscovery"
1998 ],
1999 "path": "v1/matters/{matterId}/holds/{holdId}",
2000 "flatPath": "v1/matters/{matterId}/holds/{holdId}",
2001 "parameters": {
2002 "holdId": {
2003 "location": "path",
2004 "type": "string",
2005 "required": true,
2006 "description": "The ID of the hold."
2007 },
2008 "matterId": {
2009 "type": "string",
2010 "description": "The matter ID.",
2011 "required": true,
2012 "location": "path"
2013 }
2014 },
2015 "httpMethod": "PUT",
2016 "response": {
2017 "$ref": "Hold"
2018 },
2019 "id": "vault.matters.holds.update"
2020 },
2021 "delete": {
2022 "parameters": {
2023 "holdId": {
2024 "description": "The hold ID.",
2025 "type": "string",
2026 "required": true,
2027 "location": "path"
2028 },
2029 "matterId": {
2030 "description": "The matter ID.",
2031 "location": "path",
2032 "required": true,
2033 "type": "string"
2034 }
2035 },
2036 "path": "v1/matters/{matterId}/holds/{holdId}",
2037 "parameterOrder": [
2038 "matterId",
2039 "holdId"
2040 ],
2041 "scopes": [
2042 "https://www.googleapis.com/auth/ediscovery"
2043 ],
2044 "flatPath": "v1/matters/{matterId}/holds/{holdId}",
2045 "id": "vault.matters.holds.delete",
2046 "description": "Removes a hold by ID. This will release any HeldAccounts on this Hold.",
2047 "httpMethod": "DELETE",
2048 "response": {
2049 "$ref": "Empty"
2050 }
2051 },
2052 "list": {
2053 "parameterOrder": [
2054 "matterId"
2055 ],
2056 "parameters": {
2057 "pageSize": {
2058 "location": "query",
2059 "format": "int32",
2060 "description": "The number of holds to return in the response, between 0 and 100 inclusive. Leaving this empty, or as 0, is the same as page_size = 100.",
2061 "type": "integer"
2062 },
2063 "pageToken": {
2064 "description": "The pagination token as returned in the response. An empty token means start from the beginning.",
2065 "type": "string",
2066 "location": "query"
2067 },
2068 "view": {
2069 "description": "Specifies which parts of the Hold to return.",
2070 "enum": [
2071 "HOLD_VIEW_UNSPECIFIED",
2072 "BASIC_HOLD",
2073 "FULL_HOLD"
2074 ],
2075 "type": "string",
2076 "location": "query",
2077 "enumDescriptions": [
2078 "There is no specified view. Defaults to FULL_HOLD.",
2079 "Response includes the id, name, update time, corpus, and query.",
2080 "Full representation of a Hold. Response includes all fields of 'BASIC' and the entities the Hold applies to, such as accounts, or OU."
2081 ]
2082 },
2083 "matterId": {
2084 "location": "path",
2085 "description": "The matter ID.",
2086 "required": true,
2087 "type": "string"
2088 }
2089 },
2090 "path": "v1/matters/{matterId}/holds",
2091 "httpMethod": "GET",
2092 "id": "vault.matters.holds.list",
2093 "flatPath": "v1/matters/{matterId}/holds",
2094 "response": {
2095 "$ref": "ListHoldsResponse"
2096 },
2097 "description": "Lists holds within a matter. An empty page token in ListHoldsResponse denotes no more holds to list.",
2098 "scopes": [
2099 "https://www.googleapis.com/auth/ediscovery",
2100 "https://www.googleapis.com/auth/ediscovery.readonly"
2101 ]
2102 }
2103 }
2104 },
2105 "exports": {
2106 "methods": {
2107 "delete": {
2108 "response": {
2109 "$ref": "Empty"
2110 },
2111 "id": "vault.matters.exports.delete",
2112 "httpMethod": "DELETE",
2113 "flatPath": "v1/matters/{matterId}/exports/{exportId}",
2114 "parameters": {
2115 "exportId": {
2116 "type": "string",
2117 "description": "The export ID.",
2118 "location": "path",
2119 "required": true
2120 },
2121 "matterId": {
2122 "type": "string",
2123 "location": "path",
2124 "required": true,
2125 "description": "The matter ID."
2126 }
2127 },
2128 "scopes": [
2129 "https://www.googleapis.com/auth/ediscovery"
2130 ],
2131 "description": "Deletes an Export.",
2132 "path": "v1/matters/{matterId}/exports/{exportId}",
2133 "parameterOrder": [
2134 "matterId",
2135 "exportId"
2136 ]
2137 },
2138 "list": {
2139 "id": "vault.matters.exports.list",
2140 "parameters": {
2141 "pageSize": {
2142 "format": "int32",
2143 "location": "query",
2144 "type": "integer",
2145 "description": "The number of exports to return in the response."
2146 },
2147 "pageToken": {
2148 "type": "string",
2149 "location": "query",
2150 "description": "The pagination token as returned in the response."
2151 },
2152 "matterId": {
2153 "type": "string",
2154 "location": "path",
2155 "required": true,
2156 "description": "The matter ID."
2157 }
2158 },
2159 "path": "v1/matters/{matterId}/exports",
2160 "response": {
2161 "$ref": "ListExportsResponse"
2162 },
2163 "description": "Lists Exports.",
2164 "httpMethod": "GET",
2165 "scopes": [
2166 "https://www.googleapis.com/auth/ediscovery",
2167 "https://www.googleapis.com/auth/ediscovery.readonly"
2168 ],
2169 "parameterOrder": [
2170 "matterId"
2171 ],
2172 "flatPath": "v1/matters/{matterId}/exports"
2173 },
2174 "get": {
2175 "flatPath": "v1/matters/{matterId}/exports/{exportId}",
2176 "parameterOrder": [
2177 "matterId",
2178 "exportId"
2179 ],
2180 "parameters": {
2181 "matterId": {
2182 "location": "path",
2183 "description": "The matter ID.",
2184 "required": true,
2185 "type": "string"
2186 },
2187 "exportId": {
2188 "location": "path",
2189 "type": "string",
2190 "required": true,
2191 "description": "The export ID."
2192 }
2193 },
2194 "path": "v1/matters/{matterId}/exports/{exportId}",
2195 "scopes": [
2196 "https://www.googleapis.com/auth/ediscovery",
2197 "https://www.googleapis.com/auth/ediscovery.readonly"
2198 ],
2199 "id": "vault.matters.exports.get",
2200 "httpMethod": "GET",
2201 "description": "Gets an Export.",
2202 "response": {
2203 "$ref": "Export"
2204 }
2205 },
2206 "create": {
2207 "httpMethod": "POST",
2208 "parameterOrder": [
2209 "matterId"
2210 ],
2211 "scopes": [
2212 "https://www.googleapis.com/auth/ediscovery"
2213 ],
2214 "path": "v1/matters/{matterId}/exports",
2215 "flatPath": "v1/matters/{matterId}/exports",
2216 "request": {
2217 "$ref": "Export"
2218 },
2219 "id": "vault.matters.exports.create",
2220 "parameters": {
2221 "matterId": {
2222 "location": "path",
2223 "description": "The matter ID.",
2224 "type": "string",
2225 "required": true
2226 }
2227 },
2228 "description": "Creates an Export.",
2229 "response": {
2230 "$ref": "Export"
2231 }
2232 }
2233 }
2234 }
2235 },
2236 "methods": {
2237 "undelete": {
2238 "parameterOrder": [
2239 "matterId"
2240 ],
2241 "id": "vault.matters.undelete",
2242 "path": "v1/matters/{matterId}:undelete",
2243 "parameters": {
2244 "matterId": {
2245 "required": true,
2246 "type": "string",
2247 "location": "path",
2248 "description": "The matter ID."
2249 }
2250 },
2251 "description": "Undeletes the specified matter. Returns matter with updated state.",
2252 "request": {
2253 "$ref": "UndeleteMatterRequest"
2254 },
2255 "response": {
2256 "$ref": "Matter"
2257 },
2258 "httpMethod": "POST",
2259 "flatPath": "v1/matters/{matterId}:undelete",
2260 "scopes": [
2261 "https://www.googleapis.com/auth/ediscovery"
2262 ]
2263 },
2264 "list": {
2265 "scopes": [
2266 "https://www.googleapis.com/auth/ediscovery",
2267 "https://www.googleapis.com/auth/ediscovery.readonly"
2268 ],
2269 "httpMethod": "GET",
2270 "parameterOrder": [],
2271 "id": "vault.matters.list",
2272 "response": {
2273 "$ref": "ListMattersResponse"
2274 },
2275 "parameters": {
2276 "state": {
2277 "location": "query",
2278 "type": "string",
2279 "enumDescriptions": [
2280 "The matter has no specified state.",
2281 "This matter is open.",
2282 "This matter is closed.",
2283 "This matter is deleted."
2284 ],
2285 "enum": [
2286 "STATE_UNSPECIFIED",
2287 "OPEN",
2288 "CLOSED",
2289 "DELETED"
2290 ],
2291 "description": "If set, list only matters with that specific state. The default is listing matters of all states."
2292 },
2293 "pageToken": {
2294 "type": "string",
2295 "location": "query",
2296 "description": "The pagination token as returned in the response."
2297 },
2298 "view": {
2299 "type": "string",
2300 "enum": [
2301 "VIEW_UNSPECIFIED",
2302 "BASIC",
2303 "FULL"
2304 ],
2305 "location": "query",
2306 "enumDescriptions": [
2307 "There is no specified view.",
2308 "Response includes the matter_id, name, description, and state. Default choice.",
2309 "Full representation of matter is returned. Everything above and including MatterPermissions list."
2310 ],
2311 "description": "Specifies which parts of the matter to return in response."
2312 },
2313 "pageSize": {
2314 "type": "integer",
2315 "description": "The number of matters to return in the response. Default and maximum are 100.",
2316 "location": "query",
2317 "format": "int32"
2318 }
2319 },
2320 "flatPath": "v1/matters",
2321 "path": "v1/matters",
2322 "description": "Lists matters the user has access to."
2323 },
2324 "close": {
2325 "httpMethod": "POST",
2326 "scopes": [
2327 "https://www.googleapis.com/auth/ediscovery"
2328 ],
2329 "path": "v1/matters/{matterId}:close",
2330 "id": "vault.matters.close",
2331 "description": "Closes the specified matter. Returns matter with updated state.",
2332 "response": {
2333 "$ref": "CloseMatterResponse"
2334 },
2335 "flatPath": "v1/matters/{matterId}:close",
2336 "parameterOrder": [
2337 "matterId"
2338 ],
2339 "parameters": {
2340 "matterId": {
2341 "location": "path",
2342 "type": "string",
2343 "required": true,
2344 "description": "The matter ID."
2345 }
2346 },
2347 "request": {
2348 "$ref": "CloseMatterRequest"
2349 }
2350 },
2351 "addPermissions": {
2352 "path": "v1/matters/{matterId}:addPermissions",
2353 "parameters": {
2354 "matterId": {
2355 "description": "The matter ID.",
2356 "type": "string",
2357 "required": true,
2358 "location": "path"
2359 }
2360 },
2361 "response": {
2362 "$ref": "MatterPermission"
2363 },
2364 "flatPath": "v1/matters/{matterId}:addPermissions",
2365 "request": {
2366 "$ref": "AddMatterPermissionsRequest"
2367 },
2368 "httpMethod": "POST",
2369 "parameterOrder": [
2370 "matterId"
2371 ],
2372 "id": "vault.matters.addPermissions",
2373 "description": "Adds an account as a matter collaborator.",
2374 "scopes": [
2375 "https://www.googleapis.com/auth/ediscovery"
2376 ]
2377 },
2378 "get": {
2379 "httpMethod": "GET",
2380 "parameters": {
2381 "view": {
2382 "description": "Specifies which parts of the Matter to return in the response.",
2383 "enum": [
2384 "VIEW_UNSPECIFIED",
2385 "BASIC",
2386 "FULL"
2387 ],
2388 "enumDescriptions": [
2389 "There is no specified view.",
2390 "Response includes the matter_id, name, description, and state. Default choice.",
2391 "Full representation of matter is returned. Everything above and including MatterPermissions list."
2392 ],
2393 "location": "query",
2394 "type": "string"
2395 },
2396 "matterId": {
2397 "type": "string",
2398 "location": "path",
2399 "required": true,
2400 "description": "The matter ID."
2401 }
2402 },
2403 "path": "v1/matters/{matterId}",
2404 "parameterOrder": [
2405 "matterId"
2406 ],
2407 "flatPath": "v1/matters/{matterId}",
2408 "description": "Gets the specified matter.",
2409 "scopes": [
2410 "https://www.googleapis.com/auth/ediscovery",
2411 "https://www.googleapis.com/auth/ediscovery.readonly"
2412 ],
2413 "response": {
2414 "$ref": "Matter"
2415 },
2416 "id": "vault.matters.get"
2417 },
2418 "removePermissions": {
2419 "scopes": [
2420 "https://www.googleapis.com/auth/ediscovery"
2421 ],
2422 "description": "Removes an account as a matter collaborator.",
2423 "httpMethod": "POST",
2424 "path": "v1/matters/{matterId}:removePermissions",
2425 "request": {
2426 "$ref": "RemoveMatterPermissionsRequest"
2427 },
2428 "flatPath": "v1/matters/{matterId}:removePermissions",
2429 "parameters": {
2430 "matterId": {
2431 "required": true,
2432 "type": "string",
2433 "location": "path",
2434 "description": "The matter ID."
2435 }
2436 },
2437 "parameterOrder": [
2438 "matterId"
2439 ],
2440 "id": "vault.matters.removePermissions",
2441 "response": {
2442 "$ref": "Empty"
2443 }
2444 },
2445 "count": {
2446 "id": "vault.matters.count",
2447 "response": {
2448 "$ref": "Operation"
2449 },
2450 "description": "Counts the artifacts within the context of a matter and returns a detailed breakdown of metrics.",
2451 "scopes": [
2452 "https://www.googleapis.com/auth/ediscovery"
2453 ],
2454 "request": {
2455 "$ref": "CountArtifactsRequest"
2456 },
2457 "path": "v1/matters/{matterId}:count",
2458 "parameterOrder": [
2459 "matterId"
2460 ],
2461 "httpMethod": "POST",
2462 "parameters": {
2463 "matterId": {
2464 "required": true,
2465 "location": "path",
2466 "description": "The matter ID.",
2467 "type": "string"
2468 }
2469 },
2470 "flatPath": "v1/matters/{matterId}:count"
2471 },
2472 "delete": {
2473 "parameters": {
2474 "matterId": {
2475 "location": "path",
2476 "required": true,
2477 "type": "string",
2478 "description": "The matter ID"
2479 }
2480 },
2481 "id": "vault.matters.delete",
2482 "response": {
2483 "$ref": "Matter"
2484 },
2485 "flatPath": "v1/matters/{matterId}",
2486 "path": "v1/matters/{matterId}",
2487 "description": "Deletes the specified matter. Returns matter with updated state.",
2488 "httpMethod": "DELETE",
2489 "parameterOrder": [
2490 "matterId"
2491 ],
2492 "scopes": [
2493 "https://www.googleapis.com/auth/ediscovery"
2494 ]
2495 },
2496 "reopen": {
2497 "path": "v1/matters/{matterId}:reopen",
2498 "request": {
2499 "$ref": "ReopenMatterRequest"
2500 },
2501 "httpMethod": "POST",
2502 "description": "Reopens the specified matter. Returns matter with updated state.",
2503 "response": {
2504 "$ref": "ReopenMatterResponse"
2505 },
2506 "parameterOrder": [
2507 "matterId"
2508 ],
2509 "id": "vault.matters.reopen",
2510 "flatPath": "v1/matters/{matterId}:reopen",
2511 "parameters": {
2512 "matterId": {
2513 "required": true,
2514 "description": "The matter ID.",
2515 "type": "string",
2516 "location": "path"
2517 }
2518 },
2519 "scopes": [
2520 "https://www.googleapis.com/auth/ediscovery"
2521 ]
2522 },
2523 "update": {
2524 "id": "vault.matters.update",
2525 "parameterOrder": [
2526 "matterId"
2527 ],
2528 "parameters": {
2529 "matterId": {
2530 "required": true,
2531 "description": "The matter ID.",
2532 "location": "path",
2533 "type": "string"
2534 }
2535 },
2536 "path": "v1/matters/{matterId}",
2537 "scopes": [
2538 "https://www.googleapis.com/auth/ediscovery"
2539 ],
2540 "flatPath": "v1/matters/{matterId}",
2541 "httpMethod": "PUT",
2542 "response": {
2543 "$ref": "Matter"
2544 },
2545 "description": "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.",
2546 "request": {
2547 "$ref": "Matter"
2548 }
2549 },
2550 "create": {
2551 "flatPath": "v1/matters",
2552 "parameterOrder": [],
2553 "id": "vault.matters.create",
2554 "response": {
2555 "$ref": "Matter"
2556 },
2557 "description": "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.",
2558 "request": {
2559 "$ref": "Matter"
2560 },
2561 "scopes": [
2562 "https://www.googleapis.com/auth/ediscovery"
2563 ],
2564 "httpMethod": "POST",
2565 "parameters": {},
2566 "path": "v1/matters"
2567 }
2568 }
2569 }
2570 },
2571 "name": "vault",
2572 "ownerDomain": "google.com",
2573 "title": "G Suite Vault API",
2574 "ownerName": "Google",
2575 "version_module": true,
2576 "protocol": "rest",
2577 "batchPath": "batch",
2578 "discoveryVersion": "v1",
2579 "version": "v1",
2580 "rootUrl": "https://vault.googleapis.com/",
2581 "icons": {
2582 "x16": "http://www.google.com/images/icons/product/search-16.gif",
2583 "x32": "http://www.google.com/images/icons/product/search-32.gif"
2584 },
2585 "basePath": "",
2586 "kind": "discovery#restDescription",
2587 "fullyEncodeReservedExpansion": true,
2588 "revision": "20201117",
2589 "description": "Archiving and eDiscovery for G Suite.",
2590 "id": "vault:v1"
2591}