google-apis-cloudidentity_v1beta1 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 CloudidentityV1beta1
18
+ # Version of the google-apis-cloudidentity_v1beta1 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 = "20201213"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,993 @@
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 CloudidentityV1beta1
24
+
25
+ class AndroidAttributes
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApproveDeviceUserRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ApproveDeviceUserResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BlockDeviceUserRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BlockDeviceUserResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CancelWipeDeviceRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CancelWipeDeviceResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CancelWipeDeviceUserRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CancelWipeDeviceUserResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CheckTransitiveMembershipResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ClientState
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CreateDeviceRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CustomAttributeValue
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Device
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DeviceUser
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DynamicGroupMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DynamicGroupQuery
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DynamicGroupStatus
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class EntityKey
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ExpiryDetail
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GetMembershipGraphResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleAppsCloudidentityDevicesV1AndroidAttributes
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleAppsCloudidentityDevicesV1ClientState
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleAppsCloudidentityDevicesV1Device
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleAppsCloudidentityDevicesV1DeviceUser
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Group
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GroupRelation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListClientStatesResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListDeviceUsersResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ListDevicesResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListGroupsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListMembershipsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class LookupGroupNameResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class LookupMembershipNameResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class LookupSelfDeviceUsersResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class MemberRelation
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Membership
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class MembershipAdjacencyList
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class MembershipRole
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class ModifyMembershipRolesRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ModifyMembershipRolesResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Operation
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class SearchGroupsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class SearchTransitiveGroupsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SearchTransitiveMembershipsResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Status
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class TransitiveMembershipRole
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class UpdateMembershipRolesParams
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class WipeDeviceRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class WipeDeviceResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class WipeDeviceUserRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class WipeDeviceUserResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class AndroidAttributes
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :enabled_unknown_sources, as: 'enabledUnknownSources'
383
+ property :owner_profile_account, as: 'ownerProfileAccount'
384
+ property :ownership_privilege, as: 'ownershipPrivilege'
385
+ property :supports_work_profile, as: 'supportsWorkProfile'
386
+ end
387
+ end
388
+
389
+ class ApproveDeviceUserRequest
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ property :customer, as: 'customer'
393
+ end
394
+ end
395
+
396
+ class ApproveDeviceUserResponse
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
400
+
401
+ end
402
+ end
403
+
404
+ class BlockDeviceUserRequest
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :customer, as: 'customer'
408
+ end
409
+ end
410
+
411
+ class BlockDeviceUserResponse
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
415
+
416
+ end
417
+ end
418
+
419
+ class CancelWipeDeviceRequest
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :customer, as: 'customer'
423
+ end
424
+ end
425
+
426
+ class CancelWipeDeviceResponse
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
430
+
431
+ end
432
+ end
433
+
434
+ class CancelWipeDeviceUserRequest
435
+ # @private
436
+ class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :customer, as: 'customer'
438
+ end
439
+ end
440
+
441
+ class CancelWipeDeviceUserResponse
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class CheckTransitiveMembershipResponse
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :has_membership, as: 'hasMembership'
453
+ end
454
+ end
455
+
456
+ class ClientState
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ collection :asset_tags, as: 'assetTags'
460
+ property :compliance_state, as: 'complianceState'
461
+ property :create_time, as: 'createTime'
462
+ property :custom_id, as: 'customId'
463
+ property :etag, as: 'etag'
464
+ property :health_score, as: 'healthScore'
465
+ hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1beta1::CustomAttributeValue, decorator: Google::Apis::CloudidentityV1beta1::CustomAttributeValue::Representation
466
+
467
+ property :last_update_time, as: 'lastUpdateTime'
468
+ property :managed, as: 'managed'
469
+ property :name, as: 'name'
470
+ property :owner_type, as: 'ownerType'
471
+ property :score_reason, as: 'scoreReason'
472
+ end
473
+ end
474
+
475
+ class CreateDeviceRequest
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :customer, as: 'customer'
479
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
480
+
481
+ end
482
+ end
483
+
484
+ class CustomAttributeValue
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :bool_value, as: 'boolValue'
488
+ property :number_value, as: 'numberValue'
489
+ property :string_value, as: 'stringValue'
490
+ end
491
+ end
492
+
493
+ class Device
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::AndroidAttributes::Representation
497
+
498
+ property :asset_tag, as: 'assetTag'
499
+ property :baseband_version, as: 'basebandVersion'
500
+ property :bootloader_version, as: 'bootloaderVersion'
501
+ property :brand, as: 'brand'
502
+ property :build_number, as: 'buildNumber'
503
+ property :compromised_state, as: 'compromisedState'
504
+ property :create_time, as: 'createTime'
505
+ property :device_type, as: 'deviceType'
506
+ property :enabled_developer_options, as: 'enabledDeveloperOptions'
507
+ property :enabled_usb_debugging, as: 'enabledUsbDebugging'
508
+ property :encryption_state, as: 'encryptionState'
509
+ property :imei, as: 'imei'
510
+ property :kernel_version, as: 'kernelVersion'
511
+ property :last_sync_time, as: 'lastSyncTime'
512
+ property :management_state, as: 'managementState'
513
+ property :manufacturer, as: 'manufacturer'
514
+ property :meid, as: 'meid'
515
+ property :model, as: 'model'
516
+ property :name, as: 'name'
517
+ property :network_operator, as: 'networkOperator'
518
+ property :os_version, as: 'osVersion'
519
+ collection :other_accounts, as: 'otherAccounts'
520
+ property :owner_type, as: 'ownerType'
521
+ property :release_version, as: 'releaseVersion'
522
+ property :security_patch_time, as: 'securityPatchTime'
523
+ property :serial_number, as: 'serialNumber'
524
+ collection :wifi_mac_addresses, as: 'wifiMacAddresses'
525
+ end
526
+ end
527
+
528
+ class DeviceUser
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :compromised_state, as: 'compromisedState'
532
+ property :create_time, as: 'createTime'
533
+ property :first_sync_time, as: 'firstSyncTime'
534
+ property :language_code, as: 'languageCode'
535
+ property :last_sync_time, as: 'lastSyncTime'
536
+ property :management_state, as: 'managementState'
537
+ property :name, as: 'name'
538
+ property :password_state, as: 'passwordState'
539
+ property :user_agent, as: 'userAgent'
540
+ property :user_email, as: 'userEmail'
541
+ end
542
+ end
543
+
544
+ class DynamicGroupMetadata
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ collection :queries, as: 'queries', class: Google::Apis::CloudidentityV1beta1::DynamicGroupQuery, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupQuery::Representation
548
+
549
+ property :status, as: 'status', class: Google::Apis::CloudidentityV1beta1::DynamicGroupStatus, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupStatus::Representation
550
+
551
+ end
552
+ end
553
+
554
+ class DynamicGroupQuery
555
+ # @private
556
+ class Representation < Google::Apis::Core::JsonRepresentation
557
+ property :query, as: 'query'
558
+ property :resource_type, as: 'resourceType'
559
+ end
560
+ end
561
+
562
+ class DynamicGroupStatus
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :status, as: 'status'
566
+ property :status_time, as: 'statusTime'
567
+ end
568
+ end
569
+
570
+ class EntityKey
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :id, as: 'id'
574
+ property :namespace, as: 'namespace'
575
+ end
576
+ end
577
+
578
+ class ExpiryDetail
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :expire_time, as: 'expireTime'
582
+ end
583
+ end
584
+
585
+ class GetMembershipGraphResponse
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ collection :adjacency_list, as: 'adjacencyList', class: Google::Apis::CloudidentityV1beta1::MembershipAdjacencyList, decorator: Google::Apis::CloudidentityV1beta1::MembershipAdjacencyList::Representation
589
+
590
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1beta1::Group, decorator: Google::Apis::CloudidentityV1beta1::Group::Representation
591
+
592
+ end
593
+ end
594
+
595
+ class GoogleAppsCloudidentityDevicesV1AndroidAttributes
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :enabled_unknown_sources, as: 'enabledUnknownSources'
599
+ property :owner_profile_account, as: 'ownerProfileAccount'
600
+ property :ownership_privilege, as: 'ownershipPrivilege'
601
+ property :supports_work_profile, as: 'supportsWorkProfile'
602
+ end
603
+ end
604
+
605
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
609
+
610
+ end
611
+ end
612
+
613
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
617
+
618
+ end
619
+ end
620
+
621
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device::Representation
625
+
626
+ end
627
+ end
628
+
629
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
633
+
634
+ end
635
+ end
636
+
637
+ class GoogleAppsCloudidentityDevicesV1ClientState
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ collection :asset_tags, as: 'assetTags'
641
+ property :compliance_state, as: 'complianceState'
642
+ property :create_time, as: 'createTime'
643
+ property :custom_id, as: 'customId'
644
+ property :etag, as: 'etag'
645
+ property :health_score, as: 'healthScore'
646
+ hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue::Representation
647
+
648
+ property :last_update_time, as: 'lastUpdateTime'
649
+ property :managed, as: 'managed'
650
+ property :name, as: 'name'
651
+ property :owner_type, as: 'ownerType'
652
+ property :score_reason, as: 'scoreReason'
653
+ end
654
+ end
655
+
656
+ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :bool_value, as: 'boolValue'
660
+ property :number_value, as: 'numberValue'
661
+ property :string_value, as: 'stringValue'
662
+ end
663
+ end
664
+
665
+ class GoogleAppsCloudidentityDevicesV1Device
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1AndroidAttributes::Representation
669
+
670
+ property :asset_tag, as: 'assetTag'
671
+ property :baseband_version, as: 'basebandVersion'
672
+ property :bootloader_version, as: 'bootloaderVersion'
673
+ property :brand, as: 'brand'
674
+ property :build_number, as: 'buildNumber'
675
+ property :compromised_state, as: 'compromisedState'
676
+ property :create_time, as: 'createTime'
677
+ property :device_type, as: 'deviceType'
678
+ property :enabled_developer_options, as: 'enabledDeveloperOptions'
679
+ property :enabled_usb_debugging, as: 'enabledUsbDebugging'
680
+ property :encryption_state, as: 'encryptionState'
681
+ property :imei, as: 'imei'
682
+ property :kernel_version, as: 'kernelVersion'
683
+ property :last_sync_time, as: 'lastSyncTime'
684
+ property :management_state, as: 'managementState'
685
+ property :manufacturer, as: 'manufacturer'
686
+ property :meid, as: 'meid'
687
+ property :model, as: 'model'
688
+ property :name, as: 'name'
689
+ property :network_operator, as: 'networkOperator'
690
+ property :os_version, as: 'osVersion'
691
+ collection :other_accounts, as: 'otherAccounts'
692
+ property :owner_type, as: 'ownerType'
693
+ property :release_version, as: 'releaseVersion'
694
+ property :security_patch_time, as: 'securityPatchTime'
695
+ property :serial_number, as: 'serialNumber'
696
+ collection :wifi_mac_addresses, as: 'wifiMacAddresses'
697
+ end
698
+ end
699
+
700
+ class GoogleAppsCloudidentityDevicesV1DeviceUser
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :compromised_state, as: 'compromisedState'
704
+ property :create_time, as: 'createTime'
705
+ property :first_sync_time, as: 'firstSyncTime'
706
+ property :language_code, as: 'languageCode'
707
+ property :last_sync_time, as: 'lastSyncTime'
708
+ property :management_state, as: 'managementState'
709
+ property :name, as: 'name'
710
+ property :password_state, as: 'passwordState'
711
+ property :user_agent, as: 'userAgent'
712
+ property :user_email, as: 'userEmail'
713
+ end
714
+ end
715
+
716
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1Device::Representation
720
+
721
+ end
722
+ end
723
+
724
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
728
+
729
+ end
730
+ end
731
+
732
+ class Group
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ collection :additional_group_keys, as: 'additionalGroupKeys', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
736
+
737
+ property :create_time, as: 'createTime'
738
+ property :description, as: 'description'
739
+ property :display_name, as: 'displayName'
740
+ property :dynamic_group_metadata, as: 'dynamicGroupMetadata', class: Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata, decorator: Google::Apis::CloudidentityV1beta1::DynamicGroupMetadata::Representation
741
+
742
+ property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
743
+
744
+ hash :labels, as: 'labels'
745
+ property :name, as: 'name'
746
+ property :parent, as: 'parent'
747
+ property :update_time, as: 'updateTime'
748
+ end
749
+ end
750
+
751
+ class GroupRelation
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :display_name, as: 'displayName'
755
+ property :group, as: 'group'
756
+ property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
757
+
758
+ hash :labels, as: 'labels'
759
+ property :relation_type, as: 'relationType'
760
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole::Representation
761
+
762
+ end
763
+ end
764
+
765
+ class ListClientStatesResponse
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ collection :client_states, as: 'clientStates', class: Google::Apis::CloudidentityV1beta1::ClientState, decorator: Google::Apis::CloudidentityV1beta1::ClientState::Representation
769
+
770
+ property :next_page_token, as: 'nextPageToken'
771
+ end
772
+ end
773
+
774
+ class ListDeviceUsersResponse
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1beta1::DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
778
+
779
+ property :next_page_token, as: 'nextPageToken'
780
+ end
781
+ end
782
+
783
+ class ListDevicesResponse
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
787
+
788
+ property :next_page_token, as: 'nextPageToken'
789
+ end
790
+ end
791
+
792
+ class ListGroupsResponse
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1beta1::Group, decorator: Google::Apis::CloudidentityV1beta1::Group::Representation
796
+
797
+ property :next_page_token, as: 'nextPageToken'
798
+ end
799
+ end
800
+
801
+ class ListMembershipsResponse
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1beta1::Membership, decorator: Google::Apis::CloudidentityV1beta1::Membership::Representation
805
+
806
+ property :next_page_token, as: 'nextPageToken'
807
+ end
808
+ end
809
+
810
+ class LookupGroupNameResponse
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :name, as: 'name'
814
+ end
815
+ end
816
+
817
+ class LookupMembershipNameResponse
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :name, as: 'name'
821
+ end
822
+ end
823
+
824
+ class LookupSelfDeviceUsersResponse
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :customer, as: 'customer'
828
+ collection :names, as: 'names'
829
+ property :next_page_token, as: 'nextPageToken'
830
+ end
831
+ end
832
+
833
+ class MemberRelation
834
+ # @private
835
+ class Representation < Google::Apis::Core::JsonRepresentation
836
+ property :member, as: 'member'
837
+ collection :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
838
+
839
+ property :relation_type, as: 'relationType'
840
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1beta1::TransitiveMembershipRole::Representation
841
+
842
+ end
843
+ end
844
+
845
+ class Membership
846
+ # @private
847
+ class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :create_time, as: 'createTime'
849
+ property :member_key, as: 'memberKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
850
+
851
+ property :name, as: 'name'
852
+ property :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1beta1::EntityKey, decorator: Google::Apis::CloudidentityV1beta1::EntityKey::Representation
853
+
854
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::MembershipRole, decorator: Google::Apis::CloudidentityV1beta1::MembershipRole::Representation
855
+
856
+ property :type, as: 'type'
857
+ property :update_time, as: 'updateTime'
858
+ end
859
+ end
860
+
861
+ class MembershipAdjacencyList
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ collection :edges, as: 'edges', class: Google::Apis::CloudidentityV1beta1::Membership, decorator: Google::Apis::CloudidentityV1beta1::Membership::Representation
865
+
866
+ property :group, as: 'group'
867
+ end
868
+ end
869
+
870
+ class MembershipRole
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1beta1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1beta1::ExpiryDetail::Representation
874
+
875
+ property :name, as: 'name'
876
+ end
877
+ end
878
+
879
+ class ModifyMembershipRolesRequest
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1beta1::MembershipRole, decorator: Google::Apis::CloudidentityV1beta1::MembershipRole::Representation
883
+
884
+ collection :remove_roles, as: 'removeRoles'
885
+ collection :update_roles_params, as: 'updateRolesParams', class: Google::Apis::CloudidentityV1beta1::UpdateMembershipRolesParams, decorator: Google::Apis::CloudidentityV1beta1::UpdateMembershipRolesParams::Representation
886
+
887
+ end
888
+ end
889
+
890
+ class ModifyMembershipRolesResponse
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ property :membership, as: 'membership', class: Google::Apis::CloudidentityV1beta1::Membership, decorator: Google::Apis::CloudidentityV1beta1::Membership::Representation
894
+
895
+ end
896
+ end
897
+
898
+ class Operation
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ property :done, as: 'done'
902
+ property :error, as: 'error', class: Google::Apis::CloudidentityV1beta1::Status, decorator: Google::Apis::CloudidentityV1beta1::Status::Representation
903
+
904
+ hash :metadata, as: 'metadata'
905
+ property :name, as: 'name'
906
+ hash :response, as: 'response'
907
+ end
908
+ end
909
+
910
+ class SearchGroupsResponse
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1beta1::Group, decorator: Google::Apis::CloudidentityV1beta1::Group::Representation
914
+
915
+ property :next_page_token, as: 'nextPageToken'
916
+ end
917
+ end
918
+
919
+ class SearchTransitiveGroupsResponse
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1beta1::GroupRelation, decorator: Google::Apis::CloudidentityV1beta1::GroupRelation::Representation
923
+
924
+ property :next_page_token, as: 'nextPageToken'
925
+ end
926
+ end
927
+
928
+ class SearchTransitiveMembershipsResponse
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1beta1::MemberRelation, decorator: Google::Apis::CloudidentityV1beta1::MemberRelation::Representation
932
+
933
+ property :next_page_token, as: 'nextPageToken'
934
+ end
935
+ end
936
+
937
+ class Status
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ property :code, as: 'code'
941
+ collection :details, as: 'details'
942
+ property :message, as: 'message'
943
+ end
944
+ end
945
+
946
+ class TransitiveMembershipRole
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :role, as: 'role'
950
+ end
951
+ end
952
+
953
+ class UpdateMembershipRolesParams
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ property :field_mask, as: 'fieldMask'
957
+ property :membership_role, as: 'membershipRole', class: Google::Apis::CloudidentityV1beta1::MembershipRole, decorator: Google::Apis::CloudidentityV1beta1::MembershipRole::Representation
958
+
959
+ end
960
+ end
961
+
962
+ class WipeDeviceRequest
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :customer, as: 'customer'
966
+ end
967
+ end
968
+
969
+ class WipeDeviceResponse
970
+ # @private
971
+ class Representation < Google::Apis::Core::JsonRepresentation
972
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
973
+
974
+ end
975
+ end
976
+
977
+ class WipeDeviceUserRequest
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ property :customer, as: 'customer'
981
+ end
982
+ end
983
+
984
+ class WipeDeviceUserResponse
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
988
+
989
+ end
990
+ end
991
+ end
992
+ end
993
+ end