google-apis-cloudidentity_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 CloudidentityV1
18
+ # Version of the google-apis-cloudidentity_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 = "20201208"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,693 @@
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 CloudidentityV1
24
+
25
+ class CheckTransitiveMembershipResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class EntityKey
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GetMembershipGraphResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleAppsCloudidentityDevicesV1AndroidAttributes
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleAppsCloudidentityDevicesV1ClientState
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleAppsCloudidentityDevicesV1Device
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleAppsCloudidentityDevicesV1DeviceUser
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleAppsCloudidentityDevicesV1ListDevicesResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Group
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GroupRelation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ListGroupsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ListMembershipsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class LookupGroupNameResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class LookupMembershipNameResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class MemberRelation
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Membership
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class MembershipAdjacencyList
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class MembershipRole
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ModifyMembershipRolesRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ModifyMembershipRolesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Operation
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class SearchGroupsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class SearchTransitiveGroupsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class SearchTransitiveMembershipsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Status
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class TransitiveMembershipRole
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class CheckTransitiveMembershipResponse
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :has_membership, as: 'hasMembership'
281
+ end
282
+ end
283
+
284
+ class EntityKey
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ property :id, as: 'id'
288
+ property :namespace, as: 'namespace'
289
+ end
290
+ end
291
+
292
+ class GetMembershipGraphResponse
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ collection :adjacency_list, as: 'adjacencyList', class: Google::Apis::CloudidentityV1::MembershipAdjacencyList, decorator: Google::Apis::CloudidentityV1::MembershipAdjacencyList::Representation
296
+
297
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
298
+
299
+ end
300
+ end
301
+
302
+ class GoogleAppsCloudidentityDevicesV1AndroidAttributes
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :enabled_unknown_sources, as: 'enabledUnknownSources'
306
+ property :owner_profile_account, as: 'ownerProfileAccount'
307
+ property :ownership_privilege, as: 'ownershipPrivilege'
308
+ property :supports_work_profile, as: 'supportsWorkProfile'
309
+ end
310
+ end
311
+
312
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :customer, as: 'customer'
316
+ end
317
+ end
318
+
319
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
323
+
324
+ end
325
+ end
326
+
327
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ property :customer, as: 'customer'
331
+ end
332
+ end
333
+
334
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
338
+
339
+ end
340
+ end
341
+
342
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :customer, as: 'customer'
346
+ end
347
+ end
348
+
349
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
353
+
354
+ end
355
+ end
356
+
357
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :customer, as: 'customer'
361
+ end
362
+ end
363
+
364
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
368
+
369
+ end
370
+ end
371
+
372
+ class GoogleAppsCloudidentityDevicesV1ClientState
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ collection :asset_tags, as: 'assetTags'
376
+ property :compliance_state, as: 'complianceState'
377
+ property :create_time, as: 'createTime'
378
+ property :custom_id, as: 'customId'
379
+ property :etag, as: 'etag'
380
+ property :health_score, as: 'healthScore'
381
+ hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CustomAttributeValue::Representation
382
+
383
+ property :last_update_time, as: 'lastUpdateTime'
384
+ property :managed, as: 'managed'
385
+ property :name, as: 'name'
386
+ property :owner_type, as: 'ownerType'
387
+ property :score_reason, as: 'scoreReason'
388
+ end
389
+ end
390
+
391
+ class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ property :bool_value, as: 'boolValue'
395
+ property :number_value, as: 'numberValue'
396
+ property :string_value, as: 'stringValue'
397
+ end
398
+ end
399
+
400
+ class GoogleAppsCloudidentityDevicesV1Device
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1AndroidAttributes, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1AndroidAttributes::Representation
404
+
405
+ property :asset_tag, as: 'assetTag'
406
+ property :baseband_version, as: 'basebandVersion'
407
+ property :bootloader_version, as: 'bootloaderVersion'
408
+ property :brand, as: 'brand'
409
+ property :build_number, as: 'buildNumber'
410
+ property :compromised_state, as: 'compromisedState'
411
+ property :create_time, as: 'createTime'
412
+ property :device_type, as: 'deviceType'
413
+ property :enabled_developer_options, as: 'enabledDeveloperOptions'
414
+ property :enabled_usb_debugging, as: 'enabledUsbDebugging'
415
+ property :encryption_state, as: 'encryptionState'
416
+ property :imei, as: 'imei'
417
+ property :kernel_version, as: 'kernelVersion'
418
+ property :last_sync_time, as: 'lastSyncTime'
419
+ property :management_state, as: 'managementState'
420
+ property :manufacturer, as: 'manufacturer'
421
+ property :meid, as: 'meid'
422
+ property :model, as: 'model'
423
+ property :name, as: 'name'
424
+ property :network_operator, as: 'networkOperator'
425
+ property :os_version, as: 'osVersion'
426
+ collection :other_accounts, as: 'otherAccounts'
427
+ property :owner_type, as: 'ownerType'
428
+ property :release_version, as: 'releaseVersion'
429
+ property :security_patch_time, as: 'securityPatchTime'
430
+ property :serial_number, as: 'serialNumber'
431
+ collection :wifi_mac_addresses, as: 'wifiMacAddresses'
432
+ end
433
+ end
434
+
435
+ class GoogleAppsCloudidentityDevicesV1DeviceUser
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ property :compromised_state, as: 'compromisedState'
439
+ property :create_time, as: 'createTime'
440
+ property :first_sync_time, as: 'firstSyncTime'
441
+ property :language_code, as: 'languageCode'
442
+ property :last_sync_time, as: 'lastSyncTime'
443
+ property :management_state, as: 'managementState'
444
+ property :name, as: 'name'
445
+ property :password_state, as: 'passwordState'
446
+ property :user_agent, as: 'userAgent'
447
+ property :user_email, as: 'userEmail'
448
+ end
449
+ end
450
+
451
+ class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ collection :client_states, as: 'clientStates', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState::Representation
455
+
456
+ property :next_page_token, as: 'nextPageToken'
457
+ end
458
+ end
459
+
460
+ class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
464
+
465
+ property :next_page_token, as: 'nextPageToken'
466
+ end
467
+ end
468
+
469
+ class GoogleAppsCloudidentityDevicesV1ListDevicesResponse
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
473
+
474
+ property :next_page_token, as: 'nextPageToken'
475
+ end
476
+ end
477
+
478
+ class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :customer, as: 'customer'
482
+ collection :names, as: 'names'
483
+ property :next_page_token, as: 'nextPageToken'
484
+ end
485
+ end
486
+
487
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :customer, as: 'customer'
491
+ end
492
+ end
493
+
494
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
498
+
499
+ end
500
+ end
501
+
502
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :customer, as: 'customer'
506
+ end
507
+ end
508
+
509
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
513
+
514
+ end
515
+ end
516
+
517
+ class Group
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :create_time, as: 'createTime'
521
+ property :description, as: 'description'
522
+ property :display_name, as: 'displayName'
523
+ property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
524
+
525
+ hash :labels, as: 'labels'
526
+ property :name, as: 'name'
527
+ property :parent, as: 'parent'
528
+ property :update_time, as: 'updateTime'
529
+ end
530
+ end
531
+
532
+ class GroupRelation
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :display_name, as: 'displayName'
536
+ property :group, as: 'group'
537
+ property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
538
+
539
+ hash :labels, as: 'labels'
540
+ property :relation_type, as: 'relationType'
541
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
542
+
543
+ end
544
+ end
545
+
546
+ class ListGroupsResponse
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
550
+
551
+ property :next_page_token, as: 'nextPageToken'
552
+ end
553
+ end
554
+
555
+ class ListMembershipsResponse
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
559
+
560
+ property :next_page_token, as: 'nextPageToken'
561
+ end
562
+ end
563
+
564
+ class LookupGroupNameResponse
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :name, as: 'name'
568
+ end
569
+ end
570
+
571
+ class LookupMembershipNameResponse
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :name, as: 'name'
575
+ end
576
+ end
577
+
578
+ class MemberRelation
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :member, as: 'member'
582
+ collection :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
583
+
584
+ property :relation_type, as: 'relationType'
585
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
586
+
587
+ end
588
+ end
589
+
590
+ class Membership
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ property :create_time, as: 'createTime'
594
+ property :name, as: 'name'
595
+ property :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
596
+
597
+ collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
598
+
599
+ property :type, as: 'type'
600
+ property :update_time, as: 'updateTime'
601
+ end
602
+ end
603
+
604
+ class MembershipAdjacencyList
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ collection :edges, as: 'edges', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
608
+
609
+ property :group, as: 'group'
610
+ end
611
+ end
612
+
613
+ class MembershipRole
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :name, as: 'name'
617
+ end
618
+ end
619
+
620
+ class ModifyMembershipRolesRequest
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
624
+
625
+ collection :remove_roles, as: 'removeRoles'
626
+ end
627
+ end
628
+
629
+ class ModifyMembershipRolesResponse
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :membership, as: 'membership', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
633
+
634
+ end
635
+ end
636
+
637
+ class Operation
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :done, as: 'done'
641
+ property :error, as: 'error', class: Google::Apis::CloudidentityV1::Status, decorator: Google::Apis::CloudidentityV1::Status::Representation
642
+
643
+ hash :metadata, as: 'metadata'
644
+ property :name, as: 'name'
645
+ hash :response, as: 'response'
646
+ end
647
+ end
648
+
649
+ class SearchGroupsResponse
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
653
+
654
+ property :next_page_token, as: 'nextPageToken'
655
+ end
656
+ end
657
+
658
+ class SearchTransitiveGroupsResponse
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::GroupRelation, decorator: Google::Apis::CloudidentityV1::GroupRelation::Representation
662
+
663
+ property :next_page_token, as: 'nextPageToken'
664
+ end
665
+ end
666
+
667
+ class SearchTransitiveMembershipsResponse
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::MemberRelation, decorator: Google::Apis::CloudidentityV1::MemberRelation::Representation
671
+
672
+ property :next_page_token, as: 'nextPageToken'
673
+ end
674
+ end
675
+
676
+ class Status
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :code, as: 'code'
680
+ collection :details, as: 'details'
681
+ property :message, as: 'message'
682
+ end
683
+ end
684
+
685
+ class TransitiveMembershipRole
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ property :role, as: 'role'
689
+ end
690
+ end
691
+ end
692
+ end
693
+ end