google-apis-vault_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module VaultV1
18
+ # Version of the google-apis-vault_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201117"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,980 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module VaultV1
24
+
25
+ class AccountCount
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AccountCountError
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AccountInfo
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AddHeldAccountResult
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AddHeldAccountsRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AddHeldAccountsResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AddMatterPermissionsRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CancelOperationRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CloseMatterRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CloseMatterResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CloudStorageFile
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CloudStorageSink
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CorpusQuery
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CountArtifactsMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CountArtifactsRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CountArtifactsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DriveExportOptions
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DriveOptions
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Empty
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Export
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ExportOptions
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ExportStats
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GroupsCountResult
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GroupsExportOptions
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class HangoutsChatExportOptions
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class HangoutsChatInfo
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class HangoutsChatOptions
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class HeldAccount
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class HeldDriveQuery
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class HeldGroupsQuery
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class HeldHangoutsChatQuery
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class HeldMailQuery
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class HeldOrgUnit
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class HeldVoiceQuery
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Hold
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListExportsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ListHeldAccountsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListHoldsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListMattersResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListOperationsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListSavedQueriesResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class MailCountResult
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class MailExportOptions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MailOptions
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Matter
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class MatterPermission
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class Operation
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class OrgUnitInfo
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Query
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class RemoveHeldAccountsRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class RemoveHeldAccountsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class RemoveMatterPermissionsRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ReopenMatterRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class ReopenMatterResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class SavedQuery
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class SharedDriveInfo
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Status
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class TeamDriveInfo
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UndeleteMatterRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class UserInfo
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class VoiceExportOptions
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class VoiceOptions
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class AccountCount
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation
401
+
402
+ property :count, :numeric_string => true, as: 'count'
403
+ end
404
+ end
405
+
406
+ class AccountCountError
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation
410
+
411
+ property :error_type, as: 'errorType'
412
+ end
413
+ end
414
+
415
+ class AccountInfo
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ collection :emails, as: 'emails'
419
+ end
420
+ end
421
+
422
+ class AddHeldAccountResult
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :account, as: 'account', class: Google::Apis::VaultV1::HeldAccount, decorator: Google::Apis::VaultV1::HeldAccount::Representation
426
+
427
+ property :status, as: 'status', class: Google::Apis::VaultV1::Status, decorator: Google::Apis::VaultV1::Status::Representation
428
+
429
+ end
430
+ end
431
+
432
+ class AddHeldAccountsRequest
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ collection :account_ids, as: 'accountIds'
436
+ collection :emails, as: 'emails'
437
+ end
438
+ end
439
+
440
+ class AddHeldAccountsResponse
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ collection :responses, as: 'responses', class: Google::Apis::VaultV1::AddHeldAccountResult, decorator: Google::Apis::VaultV1::AddHeldAccountResult::Representation
444
+
445
+ end
446
+ end
447
+
448
+ class AddMatterPermissionsRequest
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :cc_me, as: 'ccMe'
452
+ property :matter_permission, as: 'matterPermission', class: Google::Apis::VaultV1::MatterPermission, decorator: Google::Apis::VaultV1::MatterPermission::Representation
453
+
454
+ property :send_emails, as: 'sendEmails'
455
+ end
456
+ end
457
+
458
+ class CancelOperationRequest
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ end
462
+ end
463
+
464
+ class CloseMatterRequest
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ end
468
+ end
469
+
470
+ class CloseMatterResponse
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :matter, as: 'matter', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation
474
+
475
+ end
476
+ end
477
+
478
+ class CloudStorageFile
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :bucket_name, as: 'bucketName'
482
+ property :md5_hash, as: 'md5Hash'
483
+ property :object_name, as: 'objectName'
484
+ property :size, :numeric_string => true, as: 'size'
485
+ end
486
+ end
487
+
488
+ class CloudStorageSink
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ collection :files, as: 'files', class: Google::Apis::VaultV1::CloudStorageFile, decorator: Google::Apis::VaultV1::CloudStorageFile::Representation
492
+
493
+ end
494
+ end
495
+
496
+ class CorpusQuery
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :drive_query, as: 'driveQuery', class: Google::Apis::VaultV1::HeldDriveQuery, decorator: Google::Apis::VaultV1::HeldDriveQuery::Representation
500
+
501
+ property :groups_query, as: 'groupsQuery', class: Google::Apis::VaultV1::HeldGroupsQuery, decorator: Google::Apis::VaultV1::HeldGroupsQuery::Representation
502
+
503
+ property :hangouts_chat_query, as: 'hangoutsChatQuery', class: Google::Apis::VaultV1::HeldHangoutsChatQuery, decorator: Google::Apis::VaultV1::HeldHangoutsChatQuery::Representation
504
+
505
+ property :mail_query, as: 'mailQuery', class: Google::Apis::VaultV1::HeldMailQuery, decorator: Google::Apis::VaultV1::HeldMailQuery::Representation
506
+
507
+ property :voice_query, as: 'voiceQuery', class: Google::Apis::VaultV1::HeldVoiceQuery, decorator: Google::Apis::VaultV1::HeldVoiceQuery::Representation
508
+
509
+ end
510
+ end
511
+
512
+ class CountArtifactsMetadata
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :end_time, as: 'endTime'
516
+ property :matter_id, as: 'matterId'
517
+ property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
518
+
519
+ property :start_time, as: 'startTime'
520
+ end
521
+ end
522
+
523
+ class CountArtifactsRequest
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
527
+
528
+ property :view, as: 'view'
529
+ end
530
+ end
531
+
532
+ class CountArtifactsResponse
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :groups_count_result, as: 'groupsCountResult', class: Google::Apis::VaultV1::GroupsCountResult, decorator: Google::Apis::VaultV1::GroupsCountResult::Representation
536
+
537
+ property :mail_count_result, as: 'mailCountResult', class: Google::Apis::VaultV1::MailCountResult, decorator: Google::Apis::VaultV1::MailCountResult::Representation
538
+
539
+ property :total_count, :numeric_string => true, as: 'totalCount'
540
+ end
541
+ end
542
+
543
+ class DriveExportOptions
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :include_access_info, as: 'includeAccessInfo'
547
+ end
548
+ end
549
+
550
+ class DriveOptions
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :include_shared_drives, as: 'includeSharedDrives'
554
+ property :include_team_drives, as: 'includeTeamDrives'
555
+ property :version_date, as: 'versionDate'
556
+ end
557
+ end
558
+
559
+ class Empty
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ end
563
+ end
564
+
565
+ class Export
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :cloud_storage_sink, as: 'cloudStorageSink', class: Google::Apis::VaultV1::CloudStorageSink, decorator: Google::Apis::VaultV1::CloudStorageSink::Representation
569
+
570
+ property :create_time, as: 'createTime'
571
+ property :export_options, as: 'exportOptions', class: Google::Apis::VaultV1::ExportOptions, decorator: Google::Apis::VaultV1::ExportOptions::Representation
572
+
573
+ property :id, as: 'id'
574
+ property :matter_id, as: 'matterId'
575
+ property :name, as: 'name'
576
+ property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
577
+
578
+ property :requester, as: 'requester', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation
579
+
580
+ property :stats, as: 'stats', class: Google::Apis::VaultV1::ExportStats, decorator: Google::Apis::VaultV1::ExportStats::Representation
581
+
582
+ property :status, as: 'status'
583
+ end
584
+ end
585
+
586
+ class ExportOptions
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :drive_options, as: 'driveOptions', class: Google::Apis::VaultV1::DriveExportOptions, decorator: Google::Apis::VaultV1::DriveExportOptions::Representation
590
+
591
+ property :groups_options, as: 'groupsOptions', class: Google::Apis::VaultV1::GroupsExportOptions, decorator: Google::Apis::VaultV1::GroupsExportOptions::Representation
592
+
593
+ property :hangouts_chat_options, as: 'hangoutsChatOptions', class: Google::Apis::VaultV1::HangoutsChatExportOptions, decorator: Google::Apis::VaultV1::HangoutsChatExportOptions::Representation
594
+
595
+ property :mail_options, as: 'mailOptions', class: Google::Apis::VaultV1::MailExportOptions, decorator: Google::Apis::VaultV1::MailExportOptions::Representation
596
+
597
+ property :region, as: 'region'
598
+ property :voice_options, as: 'voiceOptions', class: Google::Apis::VaultV1::VoiceExportOptions, decorator: Google::Apis::VaultV1::VoiceExportOptions::Representation
599
+
600
+ end
601
+ end
602
+
603
+ class ExportStats
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :exported_artifact_count, :numeric_string => true, as: 'exportedArtifactCount'
607
+ property :size_in_bytes, :numeric_string => true, as: 'sizeInBytes'
608
+ property :total_artifact_count, :numeric_string => true, as: 'totalArtifactCount'
609
+ end
610
+ end
611
+
612
+ class GroupsCountResult
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation
616
+
617
+ collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation
618
+
619
+ property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount'
620
+ collection :non_queryable_accounts, as: 'nonQueryableAccounts'
621
+ property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount'
622
+ end
623
+ end
624
+
625
+ class GroupsExportOptions
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :export_format, as: 'exportFormat'
629
+ end
630
+ end
631
+
632
+ class HangoutsChatExportOptions
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :export_format, as: 'exportFormat'
636
+ end
637
+ end
638
+
639
+ class HangoutsChatInfo
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ collection :room_id, as: 'roomId'
643
+ end
644
+ end
645
+
646
+ class HangoutsChatOptions
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :include_rooms, as: 'includeRooms'
650
+ end
651
+ end
652
+
653
+ class HeldAccount
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :account_id, as: 'accountId'
657
+ property :email, as: 'email'
658
+ property :first_name, as: 'firstName'
659
+ property :hold_time, as: 'holdTime'
660
+ property :last_name, as: 'lastName'
661
+ end
662
+ end
663
+
664
+ class HeldDriveQuery
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :include_shared_drive_files, as: 'includeSharedDriveFiles'
668
+ property :include_team_drive_files, as: 'includeTeamDriveFiles'
669
+ end
670
+ end
671
+
672
+ class HeldGroupsQuery
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :end_time, as: 'endTime'
676
+ property :start_time, as: 'startTime'
677
+ property :terms, as: 'terms'
678
+ end
679
+ end
680
+
681
+ class HeldHangoutsChatQuery
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :include_rooms, as: 'includeRooms'
685
+ end
686
+ end
687
+
688
+ class HeldMailQuery
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :end_time, as: 'endTime'
692
+ property :start_time, as: 'startTime'
693
+ property :terms, as: 'terms'
694
+ end
695
+ end
696
+
697
+ class HeldOrgUnit
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :hold_time, as: 'holdTime'
701
+ property :org_unit_id, as: 'orgUnitId'
702
+ end
703
+ end
704
+
705
+ class HeldVoiceQuery
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ collection :covered_data, as: 'coveredData'
709
+ end
710
+ end
711
+
712
+ class Hold
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ collection :accounts, as: 'accounts', class: Google::Apis::VaultV1::HeldAccount, decorator: Google::Apis::VaultV1::HeldAccount::Representation
716
+
717
+ property :corpus, as: 'corpus'
718
+ property :hold_id, as: 'holdId'
719
+ property :name, as: 'name'
720
+ property :org_unit, as: 'orgUnit', class: Google::Apis::VaultV1::HeldOrgUnit, decorator: Google::Apis::VaultV1::HeldOrgUnit::Representation
721
+
722
+ property :query, as: 'query', class: Google::Apis::VaultV1::CorpusQuery, decorator: Google::Apis::VaultV1::CorpusQuery::Representation
723
+
724
+ property :update_time, as: 'updateTime'
725
+ end
726
+ end
727
+
728
+ class ListExportsResponse
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ collection :exports, as: 'exports', class: Google::Apis::VaultV1::Export, decorator: Google::Apis::VaultV1::Export::Representation
732
+
733
+ property :next_page_token, as: 'nextPageToken'
734
+ end
735
+ end
736
+
737
+ class ListHeldAccountsResponse
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ collection :accounts, as: 'accounts', class: Google::Apis::VaultV1::HeldAccount, decorator: Google::Apis::VaultV1::HeldAccount::Representation
741
+
742
+ end
743
+ end
744
+
745
+ class ListHoldsResponse
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ collection :holds, as: 'holds', class: Google::Apis::VaultV1::Hold, decorator: Google::Apis::VaultV1::Hold::Representation
749
+
750
+ property :next_page_token, as: 'nextPageToken'
751
+ end
752
+ end
753
+
754
+ class ListMattersResponse
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ collection :matters, as: 'matters', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation
758
+
759
+ property :next_page_token, as: 'nextPageToken'
760
+ end
761
+ end
762
+
763
+ class ListOperationsResponse
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :next_page_token, as: 'nextPageToken'
767
+ collection :operations, as: 'operations', class: Google::Apis::VaultV1::Operation, decorator: Google::Apis::VaultV1::Operation::Representation
768
+
769
+ end
770
+ end
771
+
772
+ class ListSavedQueriesResponse
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :next_page_token, as: 'nextPageToken'
776
+ collection :saved_queries, as: 'savedQueries', class: Google::Apis::VaultV1::SavedQuery, decorator: Google::Apis::VaultV1::SavedQuery::Representation
777
+
778
+ end
779
+ end
780
+
781
+ class MailCountResult
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation
785
+
786
+ collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation
787
+
788
+ property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount'
789
+ collection :non_queryable_accounts, as: 'nonQueryableAccounts'
790
+ property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount'
791
+ end
792
+ end
793
+
794
+ class MailExportOptions
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ property :export_format, as: 'exportFormat'
798
+ property :show_confidential_mode_content, as: 'showConfidentialModeContent'
799
+ end
800
+ end
801
+
802
+ class MailOptions
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :exclude_drafts, as: 'excludeDrafts'
806
+ end
807
+ end
808
+
809
+ class Matter
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :description, as: 'description'
813
+ property :matter_id, as: 'matterId'
814
+ collection :matter_permissions, as: 'matterPermissions', class: Google::Apis::VaultV1::MatterPermission, decorator: Google::Apis::VaultV1::MatterPermission::Representation
815
+
816
+ property :name, as: 'name'
817
+ property :state, as: 'state'
818
+ end
819
+ end
820
+
821
+ class MatterPermission
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ property :account_id, as: 'accountId'
825
+ property :role, as: 'role'
826
+ end
827
+ end
828
+
829
+ class Operation
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :done, as: 'done'
833
+ property :error, as: 'error', class: Google::Apis::VaultV1::Status, decorator: Google::Apis::VaultV1::Status::Representation
834
+
835
+ hash :metadata, as: 'metadata'
836
+ property :name, as: 'name'
837
+ hash :response, as: 'response'
838
+ end
839
+ end
840
+
841
+ class OrgUnitInfo
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ property :org_unit_id, as: 'orgUnitId'
845
+ end
846
+ end
847
+
848
+ class Query
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :account_info, as: 'accountInfo', class: Google::Apis::VaultV1::AccountInfo, decorator: Google::Apis::VaultV1::AccountInfo::Representation
852
+
853
+ property :corpus, as: 'corpus'
854
+ property :data_scope, as: 'dataScope'
855
+ property :drive_options, as: 'driveOptions', class: Google::Apis::VaultV1::DriveOptions, decorator: Google::Apis::VaultV1::DriveOptions::Representation
856
+
857
+ property :end_time, as: 'endTime'
858
+ property :hangouts_chat_info, as: 'hangoutsChatInfo', class: Google::Apis::VaultV1::HangoutsChatInfo, decorator: Google::Apis::VaultV1::HangoutsChatInfo::Representation
859
+
860
+ property :hangouts_chat_options, as: 'hangoutsChatOptions', class: Google::Apis::VaultV1::HangoutsChatOptions, decorator: Google::Apis::VaultV1::HangoutsChatOptions::Representation
861
+
862
+ property :mail_options, as: 'mailOptions', class: Google::Apis::VaultV1::MailOptions, decorator: Google::Apis::VaultV1::MailOptions::Representation
863
+
864
+ property :method_prop, as: 'method'
865
+ property :org_unit_info, as: 'orgUnitInfo', class: Google::Apis::VaultV1::OrgUnitInfo, decorator: Google::Apis::VaultV1::OrgUnitInfo::Representation
866
+
867
+ property :search_method, as: 'searchMethod'
868
+ property :shared_drive_info, as: 'sharedDriveInfo', class: Google::Apis::VaultV1::SharedDriveInfo, decorator: Google::Apis::VaultV1::SharedDriveInfo::Representation
869
+
870
+ property :start_time, as: 'startTime'
871
+ property :team_drive_info, as: 'teamDriveInfo', class: Google::Apis::VaultV1::TeamDriveInfo, decorator: Google::Apis::VaultV1::TeamDriveInfo::Representation
872
+
873
+ property :terms, as: 'terms'
874
+ property :time_zone, as: 'timeZone'
875
+ property :voice_options, as: 'voiceOptions', class: Google::Apis::VaultV1::VoiceOptions, decorator: Google::Apis::VaultV1::VoiceOptions::Representation
876
+
877
+ end
878
+ end
879
+
880
+ class RemoveHeldAccountsRequest
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ collection :account_ids, as: 'accountIds'
884
+ end
885
+ end
886
+
887
+ class RemoveHeldAccountsResponse
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ collection :statuses, as: 'statuses', class: Google::Apis::VaultV1::Status, decorator: Google::Apis::VaultV1::Status::Representation
891
+
892
+ end
893
+ end
894
+
895
+ class RemoveMatterPermissionsRequest
896
+ # @private
897
+ class Representation < Google::Apis::Core::JsonRepresentation
898
+ property :account_id, as: 'accountId'
899
+ end
900
+ end
901
+
902
+ class ReopenMatterRequest
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ end
906
+ end
907
+
908
+ class ReopenMatterResponse
909
+ # @private
910
+ class Representation < Google::Apis::Core::JsonRepresentation
911
+ property :matter, as: 'matter', class: Google::Apis::VaultV1::Matter, decorator: Google::Apis::VaultV1::Matter::Representation
912
+
913
+ end
914
+ end
915
+
916
+ class SavedQuery
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ property :create_time, as: 'createTime'
920
+ property :display_name, as: 'displayName'
921
+ property :matter_id, as: 'matterId'
922
+ property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
923
+
924
+ property :saved_query_id, as: 'savedQueryId'
925
+ end
926
+ end
927
+
928
+ class SharedDriveInfo
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ collection :shared_drive_ids, as: 'sharedDriveIds'
932
+ end
933
+ end
934
+
935
+ class Status
936
+ # @private
937
+ class Representation < Google::Apis::Core::JsonRepresentation
938
+ property :code, as: 'code'
939
+ collection :details, as: 'details'
940
+ property :message, as: 'message'
941
+ end
942
+ end
943
+
944
+ class TeamDriveInfo
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ collection :team_drive_ids, as: 'teamDriveIds'
948
+ end
949
+ end
950
+
951
+ class UndeleteMatterRequest
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ end
955
+ end
956
+
957
+ class UserInfo
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :display_name, as: 'displayName'
961
+ property :email, as: 'email'
962
+ end
963
+ end
964
+
965
+ class VoiceExportOptions
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :export_format, as: 'exportFormat'
969
+ end
970
+ end
971
+
972
+ class VoiceOptions
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ collection :covered_data, as: 'coveredData'
976
+ end
977
+ end
978
+ end
979
+ end
980
+ end