google-apis-cloudresourcemanager_v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 CloudresourcemanagerV1
18
+ # Version of the google-apis-cloudresourcemanager_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 = "20201207"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,936 @@
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 CloudresourcemanagerV1
24
+
25
+ class Ancestor
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditLogConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Binding
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BooleanConstraint
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BooleanPolicy
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ClearOrgPolicyRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Constraint
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CreateFolderMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CreateProjectMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CreateTagKeyMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CreateTagValueMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DeleteFolderMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DeleteOrganizationMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DeleteProjectMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DeleteTagKeyMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class DeleteTagValueMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Empty
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Expr
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class FolderOperation
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class FolderOperationError
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GetAncestryRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GetAncestryResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GetEffectiveOrgPolicyRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GetIamPolicyRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GetOrgPolicyRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GetPolicyOptions
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Lien
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListAvailableOrgPolicyConstraintsRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListAvailableOrgPolicyConstraintsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ListConstraint
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ListLiensResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListOrgPoliciesRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListOrgPoliciesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ListPolicy
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListProjectsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class MoveFolderMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class MoveProjectMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Operation
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class OrgPolicy
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Organization
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class OrganizationOwner
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Policy
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Project
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class ProjectCreationStatus
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ResourceId
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class RestoreDefault
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class SearchOrganizationsRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class SearchOrganizationsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SetIamPolicyRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class SetOrgPolicyRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class Status
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class TestIamPermissionsRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TestIamPermissionsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class UndeleteFolderMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class UndeleteOrganizationMetadata
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UndeleteProjectMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class UndeleteProjectRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class UpdateFolderMetadata
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class UpdateProjectMetadata
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class UpdateTagKeyMetadata
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class UpdateTagValueMetadata
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class Ancestor
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
413
+
414
+ end
415
+ end
416
+
417
+ class AuditConfig
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation
421
+
422
+ property :service, as: 'service'
423
+ end
424
+ end
425
+
426
+ class AuditLogConfig
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ collection :exempted_members, as: 'exemptedMembers'
430
+ property :log_type, as: 'logType'
431
+ end
432
+ end
433
+
434
+ class Binding
435
+ # @private
436
+ class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :condition, as: 'condition', class: Google::Apis::CloudresourcemanagerV1::Expr, decorator: Google::Apis::CloudresourcemanagerV1::Expr::Representation
438
+
439
+ collection :members, as: 'members'
440
+ property :role, as: 'role'
441
+ end
442
+ end
443
+
444
+ class BooleanConstraint
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ end
448
+ end
449
+
450
+ class BooleanPolicy
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :enforced, as: 'enforced'
454
+ end
455
+ end
456
+
457
+ class ClearOrgPolicyRequest
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :constraint, as: 'constraint'
461
+ property :etag, :base64 => true, as: 'etag'
462
+ end
463
+ end
464
+
465
+ class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :destination_parent, as: 'destinationParent'
469
+ property :display_name, as: 'displayName'
470
+ property :operation_type, as: 'operationType'
471
+ property :source_parent, as: 'sourceParent'
472
+ end
473
+ end
474
+
475
+ class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :destination_parent, as: 'destinationParent'
479
+ property :display_name, as: 'displayName'
480
+ property :operation_type, as: 'operationType'
481
+ property :source_parent, as: 'sourceParent'
482
+ end
483
+ end
484
+
485
+ class Constraint
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation
489
+
490
+ property :constraint_default, as: 'constraintDefault'
491
+ property :description, as: 'description'
492
+ property :display_name, as: 'displayName'
493
+ property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation
494
+
495
+ property :name, as: 'name'
496
+ property :version, as: 'version'
497
+ end
498
+ end
499
+
500
+ class CreateFolderMetadata
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :display_name, as: 'displayName'
504
+ property :parent, as: 'parent'
505
+ end
506
+ end
507
+
508
+ class CreateProjectMetadata
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :create_time, as: 'createTime'
512
+ property :gettable, as: 'gettable'
513
+ property :ready, as: 'ready'
514
+ end
515
+ end
516
+
517
+ class CreateTagKeyMetadata
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ end
521
+ end
522
+
523
+ class CreateTagValueMetadata
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ end
527
+ end
528
+
529
+ class DeleteFolderMetadata
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ end
533
+ end
534
+
535
+ class DeleteOrganizationMetadata
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ end
539
+ end
540
+
541
+ class DeleteProjectMetadata
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ end
545
+ end
546
+
547
+ class DeleteTagKeyMetadata
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ end
551
+ end
552
+
553
+ class DeleteTagValueMetadata
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ end
557
+ end
558
+
559
+ class Empty
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ end
563
+ end
564
+
565
+ class Expr
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :description, as: 'description'
569
+ property :expression, as: 'expression'
570
+ property :location, as: 'location'
571
+ property :title, as: 'title'
572
+ end
573
+ end
574
+
575
+ class FolderOperation
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ property :destination_parent, as: 'destinationParent'
579
+ property :display_name, as: 'displayName'
580
+ property :operation_type, as: 'operationType'
581
+ property :source_parent, as: 'sourceParent'
582
+ end
583
+ end
584
+
585
+ class FolderOperationError
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :error_message_id, as: 'errorMessageId'
589
+ end
590
+ end
591
+
592
+ class GetAncestryRequest
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ end
596
+ end
597
+
598
+ class GetAncestryResponse
599
+ # @private
600
+ class Representation < Google::Apis::Core::JsonRepresentation
601
+ collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation
602
+
603
+ end
604
+ end
605
+
606
+ class GetEffectiveOrgPolicyRequest
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :constraint, as: 'constraint'
610
+ end
611
+ end
612
+
613
+ class GetIamPolicyRequest
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :options, as: 'options', class: Google::Apis::CloudresourcemanagerV1::GetPolicyOptions, decorator: Google::Apis::CloudresourcemanagerV1::GetPolicyOptions::Representation
617
+
618
+ end
619
+ end
620
+
621
+ class GetOrgPolicyRequest
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :constraint, as: 'constraint'
625
+ end
626
+ end
627
+
628
+ class GetPolicyOptions
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :requested_policy_version, as: 'requestedPolicyVersion'
632
+ end
633
+ end
634
+
635
+ class Lien
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :create_time, as: 'createTime'
639
+ property :name, as: 'name'
640
+ property :origin, as: 'origin'
641
+ property :parent, as: 'parent'
642
+ property :reason, as: 'reason'
643
+ collection :restrictions, as: 'restrictions'
644
+ end
645
+ end
646
+
647
+ class ListAvailableOrgPolicyConstraintsRequest
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ property :page_size, as: 'pageSize'
651
+ property :page_token, as: 'pageToken'
652
+ end
653
+ end
654
+
655
+ class ListAvailableOrgPolicyConstraintsResponse
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation
659
+
660
+ property :next_page_token, as: 'nextPageToken'
661
+ end
662
+ end
663
+
664
+ class ListConstraint
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :suggested_value, as: 'suggestedValue'
668
+ property :supports_under, as: 'supportsUnder'
669
+ end
670
+ end
671
+
672
+ class ListLiensResponse
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ collection :liens, as: 'liens', class: Google::Apis::CloudresourcemanagerV1::Lien, decorator: Google::Apis::CloudresourcemanagerV1::Lien::Representation
676
+
677
+ property :next_page_token, as: 'nextPageToken'
678
+ end
679
+ end
680
+
681
+ class ListOrgPoliciesRequest
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :page_size, as: 'pageSize'
685
+ property :page_token, as: 'pageToken'
686
+ end
687
+ end
688
+
689
+ class ListOrgPoliciesResponse
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ property :next_page_token, as: 'nextPageToken'
693
+ collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
694
+
695
+ end
696
+ end
697
+
698
+ class ListPolicy
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :all_values, as: 'allValues'
702
+ collection :allowed_values, as: 'allowedValues'
703
+ collection :denied_values, as: 'deniedValues'
704
+ property :inherit_from_parent, as: 'inheritFromParent'
705
+ property :suggested_value, as: 'suggestedValue'
706
+ end
707
+ end
708
+
709
+ class ListProjectsResponse
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :next_page_token, as: 'nextPageToken'
713
+ collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
714
+
715
+ end
716
+ end
717
+
718
+ class MoveFolderMetadata
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :destination_parent, as: 'destinationParent'
722
+ property :display_name, as: 'displayName'
723
+ property :source_parent, as: 'sourceParent'
724
+ end
725
+ end
726
+
727
+ class MoveProjectMetadata
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ end
731
+ end
732
+
733
+ class Operation
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :done, as: 'done'
737
+ property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation
738
+
739
+ hash :metadata, as: 'metadata'
740
+ property :name, as: 'name'
741
+ hash :response, as: 'response'
742
+ end
743
+ end
744
+
745
+ class OrgPolicy
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation
749
+
750
+ property :constraint, as: 'constraint'
751
+ property :etag, :base64 => true, as: 'etag'
752
+ property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation
753
+
754
+ property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation
755
+
756
+ property :update_time, as: 'updateTime'
757
+ property :version, as: 'version'
758
+ end
759
+ end
760
+
761
+ class Organization
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ property :creation_time, as: 'creationTime'
765
+ property :display_name, as: 'displayName'
766
+ property :lifecycle_state, as: 'lifecycleState'
767
+ property :name, as: 'name'
768
+ property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation
769
+
770
+ end
771
+ end
772
+
773
+ class OrganizationOwner
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :directory_customer_id, as: 'directoryCustomerId'
777
+ end
778
+ end
779
+
780
+ class Policy
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditConfig::Representation
784
+
785
+ collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation
786
+
787
+ property :etag, :base64 => true, as: 'etag'
788
+ property :version, as: 'version'
789
+ end
790
+ end
791
+
792
+ class Project
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ property :create_time, as: 'createTime'
796
+ hash :labels, as: 'labels'
797
+ property :lifecycle_state, as: 'lifecycleState'
798
+ property :name, as: 'name'
799
+ property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
800
+
801
+ property :project_id, as: 'projectId'
802
+ property :project_number, :numeric_string => true, as: 'projectNumber'
803
+ end
804
+ end
805
+
806
+ class ProjectCreationStatus
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :create_time, as: 'createTime'
810
+ property :gettable, as: 'gettable'
811
+ property :ready, as: 'ready'
812
+ end
813
+ end
814
+
815
+ class ResourceId
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :id, as: 'id'
819
+ property :type, as: 'type'
820
+ end
821
+ end
822
+
823
+ class RestoreDefault
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ end
827
+ end
828
+
829
+ class SearchOrganizationsRequest
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :filter, as: 'filter'
833
+ property :page_size, as: 'pageSize'
834
+ property :page_token, as: 'pageToken'
835
+ end
836
+ end
837
+
838
+ class SearchOrganizationsResponse
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :next_page_token, as: 'nextPageToken'
842
+ collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1::Organization, decorator: Google::Apis::CloudresourcemanagerV1::Organization::Representation
843
+
844
+ end
845
+ end
846
+
847
+ class SetIamPolicyRequest
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation
851
+
852
+ property :update_mask, as: 'updateMask'
853
+ end
854
+ end
855
+
856
+ class SetOrgPolicyRequest
857
+ # @private
858
+ class Representation < Google::Apis::Core::JsonRepresentation
859
+ property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
860
+
861
+ end
862
+ end
863
+
864
+ class Status
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :code, as: 'code'
868
+ collection :details, as: 'details'
869
+ property :message, as: 'message'
870
+ end
871
+ end
872
+
873
+ class TestIamPermissionsRequest
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ collection :permissions, as: 'permissions'
877
+ end
878
+ end
879
+
880
+ class TestIamPermissionsResponse
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ collection :permissions, as: 'permissions'
884
+ end
885
+ end
886
+
887
+ class UndeleteFolderMetadata
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ end
891
+ end
892
+
893
+ class UndeleteOrganizationMetadata
894
+ # @private
895
+ class Representation < Google::Apis::Core::JsonRepresentation
896
+ end
897
+ end
898
+
899
+ class UndeleteProjectMetadata
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ end
903
+ end
904
+
905
+ class UndeleteProjectRequest
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ end
909
+ end
910
+
911
+ class UpdateFolderMetadata
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ end
915
+ end
916
+
917
+ class UpdateProjectMetadata
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ end
921
+ end
922
+
923
+ class UpdateTagKeyMetadata
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ end
927
+ end
928
+
929
+ class UpdateTagValueMetadata
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ end
933
+ end
934
+ end
935
+ end
936
+ end