google-apis-admin_directory_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 AdminDirectoryV1
18
+ # Version of the google-apis-admin_directory_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 = "20210105"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1614 @@
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 AdminDirectoryV1
24
+
25
+ class Alias
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Aliases
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Asp
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Asps
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Building
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BuildingAddress
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BuildingCoordinates
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Buildings
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CalendarResource
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CalendarResources
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Channel
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ChromeOsDevice
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ class ActiveTimeRange
95
+ class Representation < Google::Apis::Core::JsonRepresentation; end
96
+
97
+ include Google::Apis::Core::JsonObjectSupport
98
+ end
99
+
100
+ class CpuStatusReport
101
+ class Representation < Google::Apis::Core::JsonRepresentation; end
102
+
103
+ class CpuTemperatureInfo
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ include Google::Apis::Core::JsonObjectSupport
110
+ end
111
+
112
+ class DeviceFile
113
+ class Representation < Google::Apis::Core::JsonRepresentation; end
114
+
115
+ include Google::Apis::Core::JsonObjectSupport
116
+ end
117
+
118
+ class DiskVolumeReport
119
+ class Representation < Google::Apis::Core::JsonRepresentation; end
120
+
121
+ class VolumeInfo
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ include Google::Apis::Core::JsonObjectSupport
128
+ end
129
+
130
+ class LastKnownNetwork
131
+ class Representation < Google::Apis::Core::JsonRepresentation; end
132
+
133
+ include Google::Apis::Core::JsonObjectSupport
134
+ end
135
+
136
+ class SystemRamFreeReport
137
+ class Representation < Google::Apis::Core::JsonRepresentation; end
138
+
139
+ include Google::Apis::Core::JsonObjectSupport
140
+ end
141
+
142
+ class TpmVersionInfo
143
+ class Representation < Google::Apis::Core::JsonRepresentation; end
144
+
145
+ include Google::Apis::Core::JsonObjectSupport
146
+ end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ChromeOsDeviceAction
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ChromeOsDevices
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ChromeOsMoveDevicesToOu
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Customer
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class CustomerPostalAddress
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class DirectoryChromeosdevicesCommand
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class DirectoryChromeosdevicesCommandResult
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class DirectoryChromeosdevicesIssueCommandRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class DirectoryChromeosdevicesIssueCommandResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class DomainAlias
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class DomainAliases
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Domains
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Domains2
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Feature
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class FeatureInstance
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class FeatureRename
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Features
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Group
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Groups
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Member
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Members
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class MembersHasMember
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MobileDevice
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ class Application
287
+ class Representation < Google::Apis::Core::JsonRepresentation; end
288
+
289
+ include Google::Apis::Core::JsonObjectSupport
290
+ end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class MobileDeviceAction
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class MobileDevices
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class OrgUnit
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class OrgUnits
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Privilege
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class Privileges
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class RecentUsers
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Role
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ class RolePrivilege
341
+ class Representation < Google::Apis::Core::JsonRepresentation; end
342
+
343
+ include Google::Apis::Core::JsonObjectSupport
344
+ end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class RoleAssignment
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class RoleAssignments
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Roles
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Schema
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class SchemaFieldSpec
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ class NumericIndexingSpec
377
+ class Representation < Google::Apis::Core::JsonRepresentation; end
378
+
379
+ include Google::Apis::Core::JsonObjectSupport
380
+ end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class Schemas
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class Token
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class Tokens
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class User
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class UserAbout
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class UserAddress
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class UserEmail
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class UserExternalId
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class UserGender
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class UserIm
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class UserKeyword
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class UserLanguage
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class UserLocation
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class UserMakeAdmin
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class UserName
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class UserOrganization
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class UserPhone
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class UserPhoto
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class UserPosixAccount
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class UserRelation
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class UserSshPublicKey
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class UserUndelete
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class UserWebsite
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class Users
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class VerificationCode
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class VerificationCodes
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class Alias
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :alias, as: 'alias'
545
+ property :etag, as: 'etag'
546
+ property :id, as: 'id'
547
+ property :kind, as: 'kind'
548
+ property :primary_email, as: 'primaryEmail'
549
+ end
550
+ end
551
+
552
+ class Aliases
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ collection :aliases, as: 'aliases'
556
+ property :etag, as: 'etag'
557
+ property :kind, as: 'kind'
558
+ end
559
+ end
560
+
561
+ class Asp
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :code_id, as: 'codeId'
565
+ property :creation_time, :numeric_string => true, as: 'creationTime'
566
+ property :etag, as: 'etag'
567
+ property :kind, as: 'kind'
568
+ property :last_time_used, :numeric_string => true, as: 'lastTimeUsed'
569
+ property :name, as: 'name'
570
+ property :user_key, as: 'userKey'
571
+ end
572
+ end
573
+
574
+ class Asps
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :etag, as: 'etag'
578
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Asp, decorator: Google::Apis::AdminDirectoryV1::Asp::Representation
579
+
580
+ property :kind, as: 'kind'
581
+ end
582
+ end
583
+
584
+ class Building
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :address, as: 'address', class: Google::Apis::AdminDirectoryV1::BuildingAddress, decorator: Google::Apis::AdminDirectoryV1::BuildingAddress::Representation
588
+
589
+ property :building_id, as: 'buildingId'
590
+ property :building_name, as: 'buildingName'
591
+ property :coordinates, as: 'coordinates', class: Google::Apis::AdminDirectoryV1::BuildingCoordinates, decorator: Google::Apis::AdminDirectoryV1::BuildingCoordinates::Representation
592
+
593
+ property :description, as: 'description'
594
+ property :etags, as: 'etags'
595
+ collection :floor_names, as: 'floorNames'
596
+ property :kind, as: 'kind'
597
+ end
598
+ end
599
+
600
+ class BuildingAddress
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ collection :address_lines, as: 'addressLines'
604
+ property :administrative_area, as: 'administrativeArea'
605
+ property :language_code, as: 'languageCode'
606
+ property :locality, as: 'locality'
607
+ property :postal_code, as: 'postalCode'
608
+ property :region_code, as: 'regionCode'
609
+ property :sublocality, as: 'sublocality'
610
+ end
611
+ end
612
+
613
+ class BuildingCoordinates
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :latitude, as: 'latitude'
617
+ property :longitude, as: 'longitude'
618
+ end
619
+ end
620
+
621
+ class Buildings
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ collection :buildings, as: 'buildings', class: Google::Apis::AdminDirectoryV1::Building, decorator: Google::Apis::AdminDirectoryV1::Building::Representation
625
+
626
+ property :etag, as: 'etag'
627
+ property :kind, as: 'kind'
628
+ property :next_page_token, as: 'nextPageToken'
629
+ end
630
+ end
631
+
632
+ class CalendarResource
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :building_id, as: 'buildingId'
636
+ property :capacity, as: 'capacity'
637
+ property :etags, as: 'etags'
638
+ property :feature_instances, as: 'featureInstances'
639
+ property :floor_name, as: 'floorName'
640
+ property :floor_section, as: 'floorSection'
641
+ property :generated_resource_name, as: 'generatedResourceName'
642
+ property :kind, as: 'kind'
643
+ property :resource_category, as: 'resourceCategory'
644
+ property :resource_description, as: 'resourceDescription'
645
+ property :resource_email, as: 'resourceEmail'
646
+ property :resource_id, as: 'resourceId'
647
+ property :resource_name, as: 'resourceName'
648
+ property :resource_type, as: 'resourceType'
649
+ property :user_visible_description, as: 'userVisibleDescription'
650
+ end
651
+ end
652
+
653
+ class CalendarResources
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :etag, as: 'etag'
657
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::CalendarResource, decorator: Google::Apis::AdminDirectoryV1::CalendarResource::Representation
658
+
659
+ property :kind, as: 'kind'
660
+ property :next_page_token, as: 'nextPageToken'
661
+ end
662
+ end
663
+
664
+ class Channel
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :address, as: 'address'
668
+ property :expiration, :numeric_string => true, as: 'expiration'
669
+ property :id, as: 'id'
670
+ property :kind, as: 'kind'
671
+ hash :params, as: 'params'
672
+ property :payload, as: 'payload'
673
+ property :resource_id, as: 'resourceId'
674
+ property :resource_uri, as: 'resourceUri'
675
+ property :token, as: 'token'
676
+ property :type, as: 'type'
677
+ end
678
+ end
679
+
680
+ class ChromeOsDevice
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ collection :active_time_ranges, as: 'activeTimeRanges', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange::Representation
684
+
685
+ property :annotated_asset_id, as: 'annotatedAssetId'
686
+ property :annotated_location, as: 'annotatedLocation'
687
+ property :annotated_user, as: 'annotatedUser'
688
+ property :auto_update_expiration, :numeric_string => true, as: 'autoUpdateExpiration'
689
+ property :boot_mode, as: 'bootMode'
690
+ collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
691
+
692
+ collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
693
+
694
+ property :device_id, as: 'deviceId'
695
+ collection :disk_volume_reports, as: 'diskVolumeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::Representation
696
+
697
+ property :dock_mac_address, as: 'dockMacAddress'
698
+ property :etag, as: 'etag'
699
+ property :ethernet_mac_address, as: 'ethernetMacAddress'
700
+ property :ethernet_mac_address0, as: 'ethernetMacAddress0'
701
+ property :firmware_version, as: 'firmwareVersion'
702
+ property :kind, as: 'kind'
703
+ property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
704
+
705
+ collection :last_known_network, as: 'lastKnownNetwork', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork::Representation
706
+
707
+ property :last_sync, as: 'lastSync', type: DateTime
708
+
709
+ property :mac_address, as: 'macAddress'
710
+ property :manufacture_date, as: 'manufactureDate'
711
+ property :meid, as: 'meid'
712
+ property :model, as: 'model'
713
+ property :notes, as: 'notes'
714
+ property :order_number, as: 'orderNumber'
715
+ property :org_unit_path, as: 'orgUnitPath'
716
+ property :os_version, as: 'osVersion'
717
+ property :platform_version, as: 'platformVersion'
718
+ collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::RecentUsers, decorator: Google::Apis::AdminDirectoryV1::RecentUsers::Representation
719
+
720
+ property :serial_number, as: 'serialNumber'
721
+ property :status, as: 'status'
722
+ property :support_end_date, as: 'supportEndDate', type: DateTime
723
+
724
+ collection :system_ram_free_reports, as: 'systemRamFreeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport::Representation
725
+
726
+ property :system_ram_total, :numeric_string => true, as: 'systemRamTotal'
727
+ property :tpm_version_info, as: 'tpmVersionInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo::Representation
728
+
729
+ property :will_auto_renew, as: 'willAutoRenew'
730
+ end
731
+
732
+ class ActiveTimeRange
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :active_time, as: 'activeTime'
736
+ property :date, as: 'date', type: Date
737
+
738
+ end
739
+ end
740
+
741
+ class CpuStatusReport
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ collection :cpu_temperature_info, as: 'cpuTemperatureInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo::Representation
745
+
746
+ collection :cpu_utilization_percentage_info, as: 'cpuUtilizationPercentageInfo'
747
+ property :report_time, as: 'reportTime', type: DateTime
748
+
749
+ end
750
+
751
+ class CpuTemperatureInfo
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :label, as: 'label'
755
+ property :temperature, as: 'temperature'
756
+ end
757
+ end
758
+ end
759
+
760
+ class DeviceFile
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :create_time, as: 'createTime', type: DateTime
764
+
765
+ property :download_url, as: 'downloadUrl'
766
+ property :name, as: 'name'
767
+ property :type, as: 'type'
768
+ end
769
+ end
770
+
771
+ class DiskVolumeReport
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ collection :volume_info, as: 'volumeInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo::Representation
775
+
776
+ end
777
+
778
+ class VolumeInfo
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :storage_free, :numeric_string => true, as: 'storageFree'
782
+ property :storage_total, :numeric_string => true, as: 'storageTotal'
783
+ property :volume_id, as: 'volumeId'
784
+ end
785
+ end
786
+ end
787
+
788
+ class LastKnownNetwork
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :ip_address, as: 'ipAddress'
792
+ property :wan_ip_address, as: 'wanIpAddress'
793
+ end
794
+ end
795
+
796
+ class SystemRamFreeReport
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :report_time, as: 'reportTime', type: DateTime
800
+
801
+ collection :system_ram_free_info, as: 'systemRamFreeInfo'
802
+ end
803
+ end
804
+
805
+ class TpmVersionInfo
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :family, as: 'family'
809
+ property :firmware_version, as: 'firmwareVersion'
810
+ property :manufacturer, as: 'manufacturer'
811
+ property :spec_level, as: 'specLevel'
812
+ property :tpm_model, as: 'tpmModel'
813
+ property :vendor_specific, as: 'vendorSpecific'
814
+ end
815
+ end
816
+ end
817
+
818
+ class ChromeOsDeviceAction
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :action, as: 'action'
822
+ property :deprovision_reason, as: 'deprovisionReason'
823
+ end
824
+ end
825
+
826
+ class ChromeOsDevices
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ collection :chromeosdevices, as: 'chromeosdevices', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
830
+
831
+ property :etag, as: 'etag'
832
+ property :kind, as: 'kind'
833
+ property :next_page_token, as: 'nextPageToken'
834
+ end
835
+ end
836
+
837
+ class ChromeOsMoveDevicesToOu
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ collection :device_ids, as: 'deviceIds'
841
+ end
842
+ end
843
+
844
+ class Customer
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :alternate_email, as: 'alternateEmail'
848
+ property :customer_creation_time, as: 'customerCreationTime', type: DateTime
849
+
850
+ property :customer_domain, as: 'customerDomain'
851
+ property :etag, as: 'etag'
852
+ property :id, as: 'id'
853
+ property :kind, as: 'kind'
854
+ property :language, as: 'language'
855
+ property :phone_number, as: 'phoneNumber'
856
+ property :postal_address, as: 'postalAddress', class: Google::Apis::AdminDirectoryV1::CustomerPostalAddress, decorator: Google::Apis::AdminDirectoryV1::CustomerPostalAddress::Representation
857
+
858
+ end
859
+ end
860
+
861
+ class CustomerPostalAddress
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :address_line1, as: 'addressLine1'
865
+ property :address_line2, as: 'addressLine2'
866
+ property :address_line3, as: 'addressLine3'
867
+ property :contact_name, as: 'contactName'
868
+ property :country_code, as: 'countryCode'
869
+ property :locality, as: 'locality'
870
+ property :organization_name, as: 'organizationName'
871
+ property :postal_code, as: 'postalCode'
872
+ property :region, as: 'region'
873
+ end
874
+ end
875
+
876
+ class DirectoryChromeosdevicesCommand
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :command_expire_time, as: 'commandExpireTime'
880
+ property :command_id, :numeric_string => true, as: 'commandId'
881
+ property :command_result, as: 'commandResult', class: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult, decorator: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult::Representation
882
+
883
+ property :issue_time, as: 'issueTime'
884
+ property :payload, as: 'payload'
885
+ property :state, as: 'state'
886
+ property :type, as: 'type'
887
+ end
888
+ end
889
+
890
+ class DirectoryChromeosdevicesCommandResult
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ property :error_message, as: 'errorMessage'
894
+ property :execute_time, as: 'executeTime'
895
+ property :result, as: 'result'
896
+ end
897
+ end
898
+
899
+ class DirectoryChromeosdevicesIssueCommandRequest
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ property :command_type, as: 'commandType'
903
+ property :payload, as: 'payload'
904
+ end
905
+ end
906
+
907
+ class DirectoryChromeosdevicesIssueCommandResponse
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :command_id, :numeric_string => true, as: 'commandId'
911
+ end
912
+ end
913
+
914
+ class DomainAlias
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :creation_time, :numeric_string => true, as: 'creationTime'
918
+ property :domain_alias_name, as: 'domainAliasName'
919
+ property :etag, as: 'etag'
920
+ property :kind, as: 'kind'
921
+ property :parent_domain_name, as: 'parentDomainName'
922
+ property :verified, as: 'verified'
923
+ end
924
+ end
925
+
926
+ class DomainAliases
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ collection :domain_aliases, as: 'domainAliases', class: Google::Apis::AdminDirectoryV1::DomainAlias, decorator: Google::Apis::AdminDirectoryV1::DomainAlias::Representation
930
+
931
+ property :etag, as: 'etag'
932
+ property :kind, as: 'kind'
933
+ end
934
+ end
935
+
936
+ class Domains
937
+ # @private
938
+ class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :creation_time, :numeric_string => true, as: 'creationTime'
940
+ collection :domain_aliases, as: 'domainAliases', class: Google::Apis::AdminDirectoryV1::DomainAlias, decorator: Google::Apis::AdminDirectoryV1::DomainAlias::Representation
941
+
942
+ property :domain_name, as: 'domainName'
943
+ property :etag, as: 'etag'
944
+ property :is_primary, as: 'isPrimary'
945
+ property :kind, as: 'kind'
946
+ property :verified, as: 'verified'
947
+ end
948
+ end
949
+
950
+ class Domains2
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ collection :domains, as: 'domains', class: Google::Apis::AdminDirectoryV1::Domains, decorator: Google::Apis::AdminDirectoryV1::Domains::Representation
954
+
955
+ property :etag, as: 'etag'
956
+ property :kind, as: 'kind'
957
+ end
958
+ end
959
+
960
+ class Feature
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :etags, as: 'etags'
964
+ property :kind, as: 'kind'
965
+ property :name, as: 'name'
966
+ end
967
+ end
968
+
969
+ class FeatureInstance
970
+ # @private
971
+ class Representation < Google::Apis::Core::JsonRepresentation
972
+ property :feature, as: 'feature', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation
973
+
974
+ end
975
+ end
976
+
977
+ class FeatureRename
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ property :new_name, as: 'newName'
981
+ end
982
+ end
983
+
984
+ class Features
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :etag, as: 'etag'
988
+ collection :features, as: 'features', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation
989
+
990
+ property :kind, as: 'kind'
991
+ property :next_page_token, as: 'nextPageToken'
992
+ end
993
+ end
994
+
995
+ class Group
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :admin_created, as: 'adminCreated'
999
+ collection :aliases, as: 'aliases'
1000
+ property :description, as: 'description'
1001
+ property :direct_members_count, :numeric_string => true, as: 'directMembersCount'
1002
+ property :email, as: 'email'
1003
+ property :etag, as: 'etag'
1004
+ property :id, as: 'id'
1005
+ property :kind, as: 'kind'
1006
+ property :name, as: 'name'
1007
+ collection :non_editable_aliases, as: 'nonEditableAliases'
1008
+ end
1009
+ end
1010
+
1011
+ class Groups
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :etag, as: 'etag'
1015
+ collection :groups, as: 'groups', class: Google::Apis::AdminDirectoryV1::Group, decorator: Google::Apis::AdminDirectoryV1::Group::Representation
1016
+
1017
+ property :kind, as: 'kind'
1018
+ property :next_page_token, as: 'nextPageToken'
1019
+ end
1020
+ end
1021
+
1022
+ class Member
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :delivery_settings, as: 'delivery_settings'
1026
+ property :email, as: 'email'
1027
+ property :etag, as: 'etag'
1028
+ property :id, as: 'id'
1029
+ property :kind, as: 'kind'
1030
+ property :role, as: 'role'
1031
+ property :status, as: 'status'
1032
+ property :type, as: 'type'
1033
+ end
1034
+ end
1035
+
1036
+ class Members
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :etag, as: 'etag'
1040
+ property :kind, as: 'kind'
1041
+ collection :members, as: 'members', class: Google::Apis::AdminDirectoryV1::Member, decorator: Google::Apis::AdminDirectoryV1::Member::Representation
1042
+
1043
+ property :next_page_token, as: 'nextPageToken'
1044
+ end
1045
+ end
1046
+
1047
+ class MembersHasMember
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ property :is_member, as: 'isMember'
1051
+ end
1052
+ end
1053
+
1054
+ class MobileDevice
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ property :adb_status, as: 'adbStatus'
1058
+ collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation
1059
+
1060
+ property :baseband_version, as: 'basebandVersion'
1061
+ property :bootloader_version, as: 'bootloaderVersion'
1062
+ property :brand, as: 'brand'
1063
+ property :build_number, as: 'buildNumber'
1064
+ property :default_language, as: 'defaultLanguage'
1065
+ property :developer_options_status, as: 'developerOptionsStatus'
1066
+ property :device_compromised_status, as: 'deviceCompromisedStatus'
1067
+ property :device_id, as: 'deviceId'
1068
+ property :device_password_status, as: 'devicePasswordStatus'
1069
+ collection :email, as: 'email'
1070
+ property :encryption_status, as: 'encryptionStatus'
1071
+ property :etag, as: 'etag'
1072
+ property :first_sync, as: 'firstSync', type: DateTime
1073
+
1074
+ property :hardware, as: 'hardware'
1075
+ property :hardware_id, as: 'hardwareId'
1076
+ property :imei, as: 'imei'
1077
+ property :kernel_version, as: 'kernelVersion'
1078
+ property :kind, as: 'kind'
1079
+ property :last_sync, as: 'lastSync', type: DateTime
1080
+
1081
+ property :managed_account_is_on_owner_profile, as: 'managedAccountIsOnOwnerProfile'
1082
+ property :manufacturer, as: 'manufacturer'
1083
+ property :meid, as: 'meid'
1084
+ property :model, as: 'model'
1085
+ collection :name, as: 'name'
1086
+ property :network_operator, as: 'networkOperator'
1087
+ property :os, as: 'os'
1088
+ collection :other_accounts_info, as: 'otherAccountsInfo'
1089
+ property :privilege, as: 'privilege'
1090
+ property :release_version, as: 'releaseVersion'
1091
+ property :resource_id, as: 'resourceId'
1092
+ property :security_patch_level, :numeric_string => true, as: 'securityPatchLevel'
1093
+ property :serial_number, as: 'serialNumber'
1094
+ property :status, as: 'status'
1095
+ property :supports_work_profile, as: 'supportsWorkProfile'
1096
+ property :type, as: 'type'
1097
+ property :unknown_sources_status, as: 'unknownSourcesStatus'
1098
+ property :user_agent, as: 'userAgent'
1099
+ property :wifi_mac_address, as: 'wifiMacAddress'
1100
+ end
1101
+
1102
+ class Application
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :display_name, as: 'displayName'
1106
+ property :package_name, as: 'packageName'
1107
+ collection :permission, as: 'permission'
1108
+ property :version_code, as: 'versionCode'
1109
+ property :version_name, as: 'versionName'
1110
+ end
1111
+ end
1112
+ end
1113
+
1114
+ class MobileDeviceAction
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :action, as: 'action'
1118
+ end
1119
+ end
1120
+
1121
+ class MobileDevices
1122
+ # @private
1123
+ class Representation < Google::Apis::Core::JsonRepresentation
1124
+ property :etag, as: 'etag'
1125
+ property :kind, as: 'kind'
1126
+ collection :mobiledevices, as: 'mobiledevices', class: Google::Apis::AdminDirectoryV1::MobileDevice, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Representation
1127
+
1128
+ property :next_page_token, as: 'nextPageToken'
1129
+ end
1130
+ end
1131
+
1132
+ class OrgUnit
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ property :block_inheritance, as: 'blockInheritance'
1136
+ property :description, as: 'description'
1137
+ property :etag, as: 'etag'
1138
+ property :kind, as: 'kind'
1139
+ property :name, as: 'name'
1140
+ property :org_unit_id, as: 'orgUnitId'
1141
+ property :org_unit_path, as: 'orgUnitPath'
1142
+ property :parent_org_unit_id, as: 'parentOrgUnitId'
1143
+ property :parent_org_unit_path, as: 'parentOrgUnitPath'
1144
+ end
1145
+ end
1146
+
1147
+ class OrgUnits
1148
+ # @private
1149
+ class Representation < Google::Apis::Core::JsonRepresentation
1150
+ property :etag, as: 'etag'
1151
+ property :kind, as: 'kind'
1152
+ collection :organization_units, as: 'organizationUnits', class: Google::Apis::AdminDirectoryV1::OrgUnit, decorator: Google::Apis::AdminDirectoryV1::OrgUnit::Representation
1153
+
1154
+ end
1155
+ end
1156
+
1157
+ class Privilege
1158
+ # @private
1159
+ class Representation < Google::Apis::Core::JsonRepresentation
1160
+ collection :child_privileges, as: 'childPrivileges', class: Google::Apis::AdminDirectoryV1::Privilege, decorator: Google::Apis::AdminDirectoryV1::Privilege::Representation
1161
+
1162
+ property :etag, as: 'etag'
1163
+ property :is_ou_scopable, as: 'isOuScopable'
1164
+ property :kind, as: 'kind'
1165
+ property :privilege_name, as: 'privilegeName'
1166
+ property :service_id, as: 'serviceId'
1167
+ property :service_name, as: 'serviceName'
1168
+ end
1169
+ end
1170
+
1171
+ class Privileges
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ property :etag, as: 'etag'
1175
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Privilege, decorator: Google::Apis::AdminDirectoryV1::Privilege::Representation
1176
+
1177
+ property :kind, as: 'kind'
1178
+ end
1179
+ end
1180
+
1181
+ class RecentUsers
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :email, as: 'email'
1185
+ property :type, as: 'type'
1186
+ end
1187
+ end
1188
+
1189
+ class Role
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ property :etag, as: 'etag'
1193
+ property :is_super_admin_role, as: 'isSuperAdminRole'
1194
+ property :is_system_role, as: 'isSystemRole'
1195
+ property :kind, as: 'kind'
1196
+ property :role_description, as: 'roleDescription'
1197
+ property :role_id, :numeric_string => true, as: 'roleId'
1198
+ property :role_name, as: 'roleName'
1199
+ collection :role_privileges, as: 'rolePrivileges', class: Google::Apis::AdminDirectoryV1::Role::RolePrivilege, decorator: Google::Apis::AdminDirectoryV1::Role::RolePrivilege::Representation
1200
+
1201
+ end
1202
+
1203
+ class RolePrivilege
1204
+ # @private
1205
+ class Representation < Google::Apis::Core::JsonRepresentation
1206
+ property :privilege_name, as: 'privilegeName'
1207
+ property :service_id, as: 'serviceId'
1208
+ end
1209
+ end
1210
+ end
1211
+
1212
+ class RoleAssignment
1213
+ # @private
1214
+ class Representation < Google::Apis::Core::JsonRepresentation
1215
+ property :assigned_to, as: 'assignedTo'
1216
+ property :etag, as: 'etag'
1217
+ property :kind, as: 'kind'
1218
+ property :org_unit_id, as: 'orgUnitId'
1219
+ property :role_assignment_id, :numeric_string => true, as: 'roleAssignmentId'
1220
+ property :role_id, :numeric_string => true, as: 'roleId'
1221
+ property :scope_type, as: 'scopeType'
1222
+ end
1223
+ end
1224
+
1225
+ class RoleAssignments
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ property :etag, as: 'etag'
1229
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::RoleAssignment, decorator: Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
1230
+
1231
+ property :kind, as: 'kind'
1232
+ property :next_page_token, as: 'nextPageToken'
1233
+ end
1234
+ end
1235
+
1236
+ class Roles
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :etag, as: 'etag'
1240
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Role, decorator: Google::Apis::AdminDirectoryV1::Role::Representation
1241
+
1242
+ property :kind, as: 'kind'
1243
+ property :next_page_token, as: 'nextPageToken'
1244
+ end
1245
+ end
1246
+
1247
+ class Schema
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :display_name, as: 'displayName'
1251
+ property :etag, as: 'etag'
1252
+ collection :fields, as: 'fields', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::Representation
1253
+
1254
+ property :kind, as: 'kind'
1255
+ property :schema_id, as: 'schemaId'
1256
+ property :schema_name, as: 'schemaName'
1257
+ end
1258
+ end
1259
+
1260
+ class SchemaFieldSpec
1261
+ # @private
1262
+ class Representation < Google::Apis::Core::JsonRepresentation
1263
+ property :display_name, as: 'displayName'
1264
+ property :etag, as: 'etag'
1265
+ property :field_id, as: 'fieldId'
1266
+ property :field_name, as: 'fieldName'
1267
+ property :field_type, as: 'fieldType'
1268
+ property :indexed, as: 'indexed'
1269
+ property :kind, as: 'kind'
1270
+ property :multi_valued, as: 'multiValued'
1271
+ property :numeric_indexing_spec, as: 'numericIndexingSpec', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::NumericIndexingSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::NumericIndexingSpec::Representation
1272
+
1273
+ property :read_access_type, as: 'readAccessType'
1274
+ end
1275
+
1276
+ class NumericIndexingSpec
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :max_value, as: 'maxValue'
1280
+ property :min_value, as: 'minValue'
1281
+ end
1282
+ end
1283
+ end
1284
+
1285
+ class Schemas
1286
+ # @private
1287
+ class Representation < Google::Apis::Core::JsonRepresentation
1288
+ property :etag, as: 'etag'
1289
+ property :kind, as: 'kind'
1290
+ collection :schemas, as: 'schemas', class: Google::Apis::AdminDirectoryV1::Schema, decorator: Google::Apis::AdminDirectoryV1::Schema::Representation
1291
+
1292
+ end
1293
+ end
1294
+
1295
+ class Token
1296
+ # @private
1297
+ class Representation < Google::Apis::Core::JsonRepresentation
1298
+ property :anonymous, as: 'anonymous'
1299
+ property :client_id, as: 'clientId'
1300
+ property :display_text, as: 'displayText'
1301
+ property :etag, as: 'etag'
1302
+ property :kind, as: 'kind'
1303
+ property :native_app, as: 'nativeApp'
1304
+ collection :scopes, as: 'scopes'
1305
+ property :user_key, as: 'userKey'
1306
+ end
1307
+ end
1308
+
1309
+ class Tokens
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ property :etag, as: 'etag'
1313
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Token, decorator: Google::Apis::AdminDirectoryV1::Token::Representation
1314
+
1315
+ property :kind, as: 'kind'
1316
+ end
1317
+ end
1318
+
1319
+ class User
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ property :addresses, as: 'addresses'
1323
+ property :agreed_to_terms, as: 'agreedToTerms'
1324
+ collection :aliases, as: 'aliases'
1325
+ property :archived, as: 'archived'
1326
+ property :change_password_at_next_login, as: 'changePasswordAtNextLogin'
1327
+ property :creation_time, as: 'creationTime', type: DateTime
1328
+
1329
+ hash :custom_schemas, as: 'customSchemas'
1330
+ property :customer_id, as: 'customerId'
1331
+ property :deletion_time, as: 'deletionTime', type: DateTime
1332
+
1333
+ property :emails, as: 'emails'
1334
+ property :etag, as: 'etag'
1335
+ property :external_ids, as: 'externalIds'
1336
+ property :gender, as: 'gender'
1337
+ property :hash_function, as: 'hashFunction'
1338
+ property :id, as: 'id'
1339
+ property :ims, as: 'ims'
1340
+ property :include_in_global_address_list, as: 'includeInGlobalAddressList'
1341
+ property :ip_whitelisted, as: 'ipWhitelisted'
1342
+ property :is_admin, as: 'isAdmin'
1343
+ property :is_delegated_admin, as: 'isDelegatedAdmin'
1344
+ property :is_enforced_in2_sv, as: 'isEnforcedIn2Sv'
1345
+ property :is_enrolled_in2_sv, as: 'isEnrolledIn2Sv'
1346
+ property :is_mailbox_setup, as: 'isMailboxSetup'
1347
+ property :keywords, as: 'keywords'
1348
+ property :kind, as: 'kind'
1349
+ property :languages, as: 'languages'
1350
+ property :last_login_time, as: 'lastLoginTime', type: DateTime
1351
+
1352
+ property :locations, as: 'locations'
1353
+ property :name, as: 'name', class: Google::Apis::AdminDirectoryV1::UserName, decorator: Google::Apis::AdminDirectoryV1::UserName::Representation
1354
+
1355
+ collection :non_editable_aliases, as: 'nonEditableAliases'
1356
+ property :notes, as: 'notes'
1357
+ property :org_unit_path, as: 'orgUnitPath'
1358
+ property :organizations, as: 'organizations'
1359
+ property :password, as: 'password'
1360
+ property :phones, as: 'phones'
1361
+ property :posix_accounts, as: 'posixAccounts'
1362
+ property :primary_email, as: 'primaryEmail'
1363
+ property :recovery_email, as: 'recoveryEmail'
1364
+ property :recovery_phone, as: 'recoveryPhone'
1365
+ property :relations, as: 'relations'
1366
+ property :ssh_public_keys, as: 'sshPublicKeys'
1367
+ property :suspended, as: 'suspended'
1368
+ property :suspension_reason, as: 'suspensionReason'
1369
+ property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag'
1370
+ property :thumbnail_photo_url, as: 'thumbnailPhotoUrl'
1371
+ property :websites, as: 'websites'
1372
+ end
1373
+ end
1374
+
1375
+ class UserAbout
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ property :content_type, as: 'contentType'
1379
+ property :value, as: 'value'
1380
+ end
1381
+ end
1382
+
1383
+ class UserAddress
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :country, as: 'country'
1387
+ property :country_code, as: 'countryCode'
1388
+ property :custom_type, as: 'customType'
1389
+ property :extended_address, as: 'extendedAddress'
1390
+ property :formatted, as: 'formatted'
1391
+ property :locality, as: 'locality'
1392
+ property :po_box, as: 'poBox'
1393
+ property :postal_code, as: 'postalCode'
1394
+ property :primary, as: 'primary'
1395
+ property :region, as: 'region'
1396
+ property :source_is_structured, as: 'sourceIsStructured'
1397
+ property :street_address, as: 'streetAddress'
1398
+ property :type, as: 'type'
1399
+ end
1400
+ end
1401
+
1402
+ class UserEmail
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :address, as: 'address'
1406
+ property :custom_type, as: 'customType'
1407
+ property :primary, as: 'primary'
1408
+ property :type, as: 'type'
1409
+ end
1410
+ end
1411
+
1412
+ class UserExternalId
1413
+ # @private
1414
+ class Representation < Google::Apis::Core::JsonRepresentation
1415
+ property :custom_type, as: 'customType'
1416
+ property :type, as: 'type'
1417
+ property :value, as: 'value'
1418
+ end
1419
+ end
1420
+
1421
+ class UserGender
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ property :address_me_as, as: 'addressMeAs'
1425
+ property :custom_gender, as: 'customGender'
1426
+ property :type, as: 'type'
1427
+ end
1428
+ end
1429
+
1430
+ class UserIm
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :custom_protocol, as: 'customProtocol'
1434
+ property :custom_type, as: 'customType'
1435
+ property :im, as: 'im'
1436
+ property :primary, as: 'primary'
1437
+ property :protocol, as: 'protocol'
1438
+ property :type, as: 'type'
1439
+ end
1440
+ end
1441
+
1442
+ class UserKeyword
1443
+ # @private
1444
+ class Representation < Google::Apis::Core::JsonRepresentation
1445
+ property :custom_type, as: 'customType'
1446
+ property :type, as: 'type'
1447
+ property :value, as: 'value'
1448
+ end
1449
+ end
1450
+
1451
+ class UserLanguage
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :custom_language, as: 'customLanguage'
1455
+ property :language_code, as: 'languageCode'
1456
+ end
1457
+ end
1458
+
1459
+ class UserLocation
1460
+ # @private
1461
+ class Representation < Google::Apis::Core::JsonRepresentation
1462
+ property :area, as: 'area'
1463
+ property :building_id, as: 'buildingId'
1464
+ property :custom_type, as: 'customType'
1465
+ property :desk_code, as: 'deskCode'
1466
+ property :floor_name, as: 'floorName'
1467
+ property :floor_section, as: 'floorSection'
1468
+ property :type, as: 'type'
1469
+ end
1470
+ end
1471
+
1472
+ class UserMakeAdmin
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :status, as: 'status'
1476
+ end
1477
+ end
1478
+
1479
+ class UserName
1480
+ # @private
1481
+ class Representation < Google::Apis::Core::JsonRepresentation
1482
+ property :family_name, as: 'familyName'
1483
+ property :full_name, as: 'fullName'
1484
+ property :given_name, as: 'givenName'
1485
+ end
1486
+ end
1487
+
1488
+ class UserOrganization
1489
+ # @private
1490
+ class Representation < Google::Apis::Core::JsonRepresentation
1491
+ property :cost_center, as: 'costCenter'
1492
+ property :custom_type, as: 'customType'
1493
+ property :department, as: 'department'
1494
+ property :description, as: 'description'
1495
+ property :domain, as: 'domain'
1496
+ property :full_time_equivalent, as: 'fullTimeEquivalent'
1497
+ property :location, as: 'location'
1498
+ property :name, as: 'name'
1499
+ property :primary, as: 'primary'
1500
+ property :symbol, as: 'symbol'
1501
+ property :title, as: 'title'
1502
+ property :type, as: 'type'
1503
+ end
1504
+ end
1505
+
1506
+ class UserPhone
1507
+ # @private
1508
+ class Representation < Google::Apis::Core::JsonRepresentation
1509
+ property :custom_type, as: 'customType'
1510
+ property :primary, as: 'primary'
1511
+ property :type, as: 'type'
1512
+ property :value, as: 'value'
1513
+ end
1514
+ end
1515
+
1516
+ class UserPhoto
1517
+ # @private
1518
+ class Representation < Google::Apis::Core::JsonRepresentation
1519
+ property :etag, as: 'etag'
1520
+ property :height, as: 'height'
1521
+ property :id, as: 'id'
1522
+ property :kind, as: 'kind'
1523
+ property :mime_type, as: 'mimeType'
1524
+ property :photo_data, :base64 => true, as: 'photoData'
1525
+ property :primary_email, as: 'primaryEmail'
1526
+ property :width, as: 'width'
1527
+ end
1528
+ end
1529
+
1530
+ class UserPosixAccount
1531
+ # @private
1532
+ class Representation < Google::Apis::Core::JsonRepresentation
1533
+ property :account_id, as: 'accountId'
1534
+ property :gecos, as: 'gecos'
1535
+ property :gid, :numeric_string => true, as: 'gid'
1536
+ property :home_directory, as: 'homeDirectory'
1537
+ property :operating_system_type, as: 'operatingSystemType'
1538
+ property :primary, as: 'primary'
1539
+ property :shell, as: 'shell'
1540
+ property :system_id, as: 'systemId'
1541
+ property :uid, :numeric_string => true, as: 'uid'
1542
+ property :username, as: 'username'
1543
+ end
1544
+ end
1545
+
1546
+ class UserRelation
1547
+ # @private
1548
+ class Representation < Google::Apis::Core::JsonRepresentation
1549
+ property :custom_type, as: 'customType'
1550
+ property :type, as: 'type'
1551
+ property :value, as: 'value'
1552
+ end
1553
+ end
1554
+
1555
+ class UserSshPublicKey
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec'
1559
+ property :fingerprint, as: 'fingerprint'
1560
+ property :key, as: 'key'
1561
+ end
1562
+ end
1563
+
1564
+ class UserUndelete
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ property :org_unit_path, as: 'orgUnitPath'
1568
+ end
1569
+ end
1570
+
1571
+ class UserWebsite
1572
+ # @private
1573
+ class Representation < Google::Apis::Core::JsonRepresentation
1574
+ property :custom_type, as: 'customType'
1575
+ property :primary, as: 'primary'
1576
+ property :type, as: 'type'
1577
+ property :value, as: 'value'
1578
+ end
1579
+ end
1580
+
1581
+ class Users
1582
+ # @private
1583
+ class Representation < Google::Apis::Core::JsonRepresentation
1584
+ property :etag, as: 'etag'
1585
+ property :kind, as: 'kind'
1586
+ property :next_page_token, as: 'nextPageToken'
1587
+ property :trigger_event, as: 'trigger_event'
1588
+ collection :users, as: 'users', class: Google::Apis::AdminDirectoryV1::User, decorator: Google::Apis::AdminDirectoryV1::User::Representation
1589
+
1590
+ end
1591
+ end
1592
+
1593
+ class VerificationCode
1594
+ # @private
1595
+ class Representation < Google::Apis::Core::JsonRepresentation
1596
+ property :etag, as: 'etag'
1597
+ property :kind, as: 'kind'
1598
+ property :user_id, as: 'userId'
1599
+ property :verification_code, as: 'verificationCode'
1600
+ end
1601
+ end
1602
+
1603
+ class VerificationCodes
1604
+ # @private
1605
+ class Representation < Google::Apis::Core::JsonRepresentation
1606
+ property :etag, as: 'etag'
1607
+ collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::VerificationCode, decorator: Google::Apis::AdminDirectoryV1::VerificationCode::Representation
1608
+
1609
+ property :kind, as: 'kind'
1610
+ end
1611
+ end
1612
+ end
1613
+ end
1614
+ end