google-apis-config_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,810 @@
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 ConfigV1
24
+
25
+ class ApplyResults
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 CancelOperationRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class DeleteStatefileRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Deployment
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DeploymentOperationMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Empty
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ExportDeploymentStatefileRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ExportPreviewResultRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ExportPreviewResultResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ExportRevisionStatefileRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Expr
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GitSource
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ImportStatefileRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListDeploymentsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListLocationsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListOperationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListPreviewsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListResourcesResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListRevisionsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListTerraformVersionsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Location
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class LockDeploymentRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class LockInfo
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Operation
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class OperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Policy
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Preview
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class PreviewArtifacts
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class PreviewOperationMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class PreviewResult
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Resource
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ResourceCaiInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ResourceTerraformInfo
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Revision
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class SetIamPolicyRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Statefile
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Status
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class TerraformBlueprint
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class TerraformError
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class TerraformOutput
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class TerraformVariable
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class TerraformVersion
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class TestIamPermissionsRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class TestIamPermissionsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class UnlockDeploymentRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ApplyResults
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :artifacts, as: 'artifacts'
317
+ property :content, as: 'content'
318
+ hash :outputs, as: 'outputs', class: Google::Apis::ConfigV1::TerraformOutput, decorator: Google::Apis::ConfigV1::TerraformOutput::Representation
319
+
320
+ end
321
+ end
322
+
323
+ class AuditConfig
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ConfigV1::AuditLogConfig, decorator: Google::Apis::ConfigV1::AuditLogConfig::Representation
327
+
328
+ property :service, as: 'service'
329
+ end
330
+ end
331
+
332
+ class AuditLogConfig
333
+ # @private
334
+ class Representation < Google::Apis::Core::JsonRepresentation
335
+ collection :exempted_members, as: 'exemptedMembers'
336
+ property :log_type, as: 'logType'
337
+ end
338
+ end
339
+
340
+ class Binding
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :condition, as: 'condition', class: Google::Apis::ConfigV1::Expr, decorator: Google::Apis::ConfigV1::Expr::Representation
344
+
345
+ collection :members, as: 'members'
346
+ property :role, as: 'role'
347
+ end
348
+ end
349
+
350
+ class CancelOperationRequest
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ end
354
+ end
355
+
356
+ class DeleteStatefileRequest
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :lock_id, :numeric_string => true, as: 'lockId'
360
+ end
361
+ end
362
+
363
+ class Deployment
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ hash :annotations, as: 'annotations'
367
+ property :artifacts_gcs_bucket, as: 'artifactsGcsBucket'
368
+ property :create_time, as: 'createTime'
369
+ property :delete_build, as: 'deleteBuild'
370
+ property :delete_logs, as: 'deleteLogs'
371
+ property :delete_results, as: 'deleteResults', class: Google::Apis::ConfigV1::ApplyResults, decorator: Google::Apis::ConfigV1::ApplyResults::Representation
372
+
373
+ property :error_code, as: 'errorCode'
374
+ property :error_logs, as: 'errorLogs'
375
+ property :import_existing_resources, as: 'importExistingResources'
376
+ hash :labels, as: 'labels'
377
+ property :latest_revision, as: 'latestRevision'
378
+ property :lock_state, as: 'lockState'
379
+ property :name, as: 'name'
380
+ property :quota_validation, as: 'quotaValidation'
381
+ property :service_account, as: 'serviceAccount'
382
+ property :state, as: 'state'
383
+ property :state_detail, as: 'stateDetail'
384
+ property :terraform_blueprint, as: 'terraformBlueprint', class: Google::Apis::ConfigV1::TerraformBlueprint, decorator: Google::Apis::ConfigV1::TerraformBlueprint::Representation
385
+
386
+ collection :tf_errors, as: 'tfErrors', class: Google::Apis::ConfigV1::TerraformError, decorator: Google::Apis::ConfigV1::TerraformError::Representation
387
+
388
+ property :tf_version, as: 'tfVersion'
389
+ property :tf_version_constraint, as: 'tfVersionConstraint'
390
+ property :update_time, as: 'updateTime'
391
+ property :worker_pool, as: 'workerPool'
392
+ end
393
+ end
394
+
395
+ class DeploymentOperationMetadata
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :apply_results, as: 'applyResults', class: Google::Apis::ConfigV1::ApplyResults, decorator: Google::Apis::ConfigV1::ApplyResults::Representation
399
+
400
+ property :build, as: 'build'
401
+ property :logs, as: 'logs'
402
+ property :step, as: 'step'
403
+ end
404
+ end
405
+
406
+ class Empty
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ end
410
+ end
411
+
412
+ class ExportDeploymentStatefileRequest
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :draft, as: 'draft'
416
+ end
417
+ end
418
+
419
+ class ExportPreviewResultRequest
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ end
423
+ end
424
+
425
+ class ExportPreviewResultResponse
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :result, as: 'result', class: Google::Apis::ConfigV1::PreviewResult, decorator: Google::Apis::ConfigV1::PreviewResult::Representation
429
+
430
+ end
431
+ end
432
+
433
+ class ExportRevisionStatefileRequest
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ end
437
+ end
438
+
439
+ class Expr
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :description, as: 'description'
443
+ property :expression, as: 'expression'
444
+ property :location, as: 'location'
445
+ property :title, as: 'title'
446
+ end
447
+ end
448
+
449
+ class GitSource
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :directory, as: 'directory'
453
+ property :ref, as: 'ref'
454
+ property :repo, as: 'repo'
455
+ end
456
+ end
457
+
458
+ class ImportStatefileRequest
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :lock_id, :numeric_string => true, as: 'lockId'
462
+ end
463
+ end
464
+
465
+ class ListDeploymentsResponse
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ collection :deployments, as: 'deployments', class: Google::Apis::ConfigV1::Deployment, decorator: Google::Apis::ConfigV1::Deployment::Representation
469
+
470
+ property :next_page_token, as: 'nextPageToken'
471
+ collection :unreachable, as: 'unreachable'
472
+ end
473
+ end
474
+
475
+ class ListLocationsResponse
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ collection :locations, as: 'locations', class: Google::Apis::ConfigV1::Location, decorator: Google::Apis::ConfigV1::Location::Representation
479
+
480
+ property :next_page_token, as: 'nextPageToken'
481
+ end
482
+ end
483
+
484
+ class ListOperationsResponse
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :next_page_token, as: 'nextPageToken'
488
+ collection :operations, as: 'operations', class: Google::Apis::ConfigV1::Operation, decorator: Google::Apis::ConfigV1::Operation::Representation
489
+
490
+ end
491
+ end
492
+
493
+ class ListPreviewsResponse
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :next_page_token, as: 'nextPageToken'
497
+ collection :previews, as: 'previews', class: Google::Apis::ConfigV1::Preview, decorator: Google::Apis::ConfigV1::Preview::Representation
498
+
499
+ collection :unreachable, as: 'unreachable'
500
+ end
501
+ end
502
+
503
+ class ListResourcesResponse
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :next_page_token, as: 'nextPageToken'
507
+ collection :resources, as: 'resources', class: Google::Apis::ConfigV1::Resource, decorator: Google::Apis::ConfigV1::Resource::Representation
508
+
509
+ collection :unreachable, as: 'unreachable'
510
+ end
511
+ end
512
+
513
+ class ListRevisionsResponse
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :next_page_token, as: 'nextPageToken'
517
+ collection :revisions, as: 'revisions', class: Google::Apis::ConfigV1::Revision, decorator: Google::Apis::ConfigV1::Revision::Representation
518
+
519
+ collection :unreachable, as: 'unreachable'
520
+ end
521
+ end
522
+
523
+ class ListTerraformVersionsResponse
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :next_page_token, as: 'nextPageToken'
527
+ collection :terraform_versions, as: 'terraformVersions', class: Google::Apis::ConfigV1::TerraformVersion, decorator: Google::Apis::ConfigV1::TerraformVersion::Representation
528
+
529
+ collection :unreachable, as: 'unreachable'
530
+ end
531
+ end
532
+
533
+ class Location
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :display_name, as: 'displayName'
537
+ hash :labels, as: 'labels'
538
+ property :location_id, as: 'locationId'
539
+ hash :metadata, as: 'metadata'
540
+ property :name, as: 'name'
541
+ end
542
+ end
543
+
544
+ class LockDeploymentRequest
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ end
548
+ end
549
+
550
+ class LockInfo
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :create_time, as: 'createTime'
554
+ property :info, as: 'info'
555
+ property :lock_id, :numeric_string => true, as: 'lockId'
556
+ property :operation, as: 'operation'
557
+ property :version, as: 'version'
558
+ property :who, as: 'who'
559
+ end
560
+ end
561
+
562
+ class Operation
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :done, as: 'done'
566
+ property :error, as: 'error', class: Google::Apis::ConfigV1::Status, decorator: Google::Apis::ConfigV1::Status::Representation
567
+
568
+ hash :metadata, as: 'metadata'
569
+ property :name, as: 'name'
570
+ hash :response, as: 'response'
571
+ end
572
+ end
573
+
574
+ class OperationMetadata
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :api_version, as: 'apiVersion'
578
+ property :create_time, as: 'createTime'
579
+ property :deployment_metadata, as: 'deploymentMetadata', class: Google::Apis::ConfigV1::DeploymentOperationMetadata, decorator: Google::Apis::ConfigV1::DeploymentOperationMetadata::Representation
580
+
581
+ property :end_time, as: 'endTime'
582
+ property :preview_metadata, as: 'previewMetadata', class: Google::Apis::ConfigV1::PreviewOperationMetadata, decorator: Google::Apis::ConfigV1::PreviewOperationMetadata::Representation
583
+
584
+ property :requested_cancellation, as: 'requestedCancellation'
585
+ property :status_message, as: 'statusMessage'
586
+ property :target, as: 'target'
587
+ property :verb, as: 'verb'
588
+ end
589
+ end
590
+
591
+ class Policy
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ConfigV1::AuditConfig, decorator: Google::Apis::ConfigV1::AuditConfig::Representation
595
+
596
+ collection :bindings, as: 'bindings', class: Google::Apis::ConfigV1::Binding, decorator: Google::Apis::ConfigV1::Binding::Representation
597
+
598
+ property :etag, :base64 => true, as: 'etag'
599
+ property :version, as: 'version'
600
+ end
601
+ end
602
+
603
+ class Preview
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :artifacts_gcs_bucket, as: 'artifactsGcsBucket'
607
+ property :build, as: 'build'
608
+ property :create_time, as: 'createTime'
609
+ property :deployment, as: 'deployment'
610
+ property :error_code, as: 'errorCode'
611
+ property :error_logs, as: 'errorLogs'
612
+ property :error_status, as: 'errorStatus', class: Google::Apis::ConfigV1::Status, decorator: Google::Apis::ConfigV1::Status::Representation
613
+
614
+ hash :labels, as: 'labels'
615
+ property :logs, as: 'logs'
616
+ property :name, as: 'name'
617
+ property :preview_artifacts, as: 'previewArtifacts', class: Google::Apis::ConfigV1::PreviewArtifacts, decorator: Google::Apis::ConfigV1::PreviewArtifacts::Representation
618
+
619
+ property :preview_mode, as: 'previewMode'
620
+ property :service_account, as: 'serviceAccount'
621
+ property :state, as: 'state'
622
+ property :terraform_blueprint, as: 'terraformBlueprint', class: Google::Apis::ConfigV1::TerraformBlueprint, decorator: Google::Apis::ConfigV1::TerraformBlueprint::Representation
623
+
624
+ collection :tf_errors, as: 'tfErrors', class: Google::Apis::ConfigV1::TerraformError, decorator: Google::Apis::ConfigV1::TerraformError::Representation
625
+
626
+ property :worker_pool, as: 'workerPool'
627
+ end
628
+ end
629
+
630
+ class PreviewArtifacts
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :artifacts, as: 'artifacts'
634
+ property :content, as: 'content'
635
+ end
636
+ end
637
+
638
+ class PreviewOperationMetadata
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :build, as: 'build'
642
+ property :logs, as: 'logs'
643
+ property :preview_artifacts, as: 'previewArtifacts', class: Google::Apis::ConfigV1::PreviewArtifacts, decorator: Google::Apis::ConfigV1::PreviewArtifacts::Representation
644
+
645
+ property :step, as: 'step'
646
+ end
647
+ end
648
+
649
+ class PreviewResult
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :binary_signed_uri, as: 'binarySignedUri'
653
+ property :json_signed_uri, as: 'jsonSignedUri'
654
+ end
655
+ end
656
+
657
+ class Resource
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ hash :cai_assets, as: 'caiAssets', class: Google::Apis::ConfigV1::ResourceCaiInfo, decorator: Google::Apis::ConfigV1::ResourceCaiInfo::Representation
661
+
662
+ property :intent, as: 'intent'
663
+ property :name, as: 'name'
664
+ property :state, as: 'state'
665
+ property :terraform_info, as: 'terraformInfo', class: Google::Apis::ConfigV1::ResourceTerraformInfo, decorator: Google::Apis::ConfigV1::ResourceTerraformInfo::Representation
666
+
667
+ end
668
+ end
669
+
670
+ class ResourceCaiInfo
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ property :full_resource_name, as: 'fullResourceName'
674
+ end
675
+ end
676
+
677
+ class ResourceTerraformInfo
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :address, as: 'address'
681
+ property :id, as: 'id'
682
+ property :type, as: 'type'
683
+ end
684
+ end
685
+
686
+ class Revision
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ property :action, as: 'action'
690
+ property :apply_results, as: 'applyResults', class: Google::Apis::ConfigV1::ApplyResults, decorator: Google::Apis::ConfigV1::ApplyResults::Representation
691
+
692
+ property :build, as: 'build'
693
+ property :create_time, as: 'createTime'
694
+ property :error_code, as: 'errorCode'
695
+ property :error_logs, as: 'errorLogs'
696
+ property :import_existing_resources, as: 'importExistingResources'
697
+ property :logs, as: 'logs'
698
+ property :name, as: 'name'
699
+ property :quota_validation, as: 'quotaValidation'
700
+ property :quota_validation_results, as: 'quotaValidationResults'
701
+ property :service_account, as: 'serviceAccount'
702
+ property :state, as: 'state'
703
+ property :state_detail, as: 'stateDetail'
704
+ property :terraform_blueprint, as: 'terraformBlueprint', class: Google::Apis::ConfigV1::TerraformBlueprint, decorator: Google::Apis::ConfigV1::TerraformBlueprint::Representation
705
+
706
+ collection :tf_errors, as: 'tfErrors', class: Google::Apis::ConfigV1::TerraformError, decorator: Google::Apis::ConfigV1::TerraformError::Representation
707
+
708
+ property :tf_version, as: 'tfVersion'
709
+ property :tf_version_constraint, as: 'tfVersionConstraint'
710
+ property :update_time, as: 'updateTime'
711
+ property :worker_pool, as: 'workerPool'
712
+ end
713
+ end
714
+
715
+ class SetIamPolicyRequest
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :policy, as: 'policy', class: Google::Apis::ConfigV1::Policy, decorator: Google::Apis::ConfigV1::Policy::Representation
719
+
720
+ property :update_mask, as: 'updateMask'
721
+ end
722
+ end
723
+
724
+ class Statefile
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :signed_uri, as: 'signedUri'
728
+ end
729
+ end
730
+
731
+ class Status
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :code, as: 'code'
735
+ collection :details, as: 'details'
736
+ property :message, as: 'message'
737
+ end
738
+ end
739
+
740
+ class TerraformBlueprint
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :gcs_source, as: 'gcsSource'
744
+ property :git_source, as: 'gitSource', class: Google::Apis::ConfigV1::GitSource, decorator: Google::Apis::ConfigV1::GitSource::Representation
745
+
746
+ hash :input_values, as: 'inputValues', class: Google::Apis::ConfigV1::TerraformVariable, decorator: Google::Apis::ConfigV1::TerraformVariable::Representation
747
+
748
+ end
749
+ end
750
+
751
+ class TerraformError
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :error, as: 'error', class: Google::Apis::ConfigV1::Status, decorator: Google::Apis::ConfigV1::Status::Representation
755
+
756
+ property :error_description, as: 'errorDescription'
757
+ property :http_response_code, as: 'httpResponseCode'
758
+ property :resource_address, as: 'resourceAddress'
759
+ end
760
+ end
761
+
762
+ class TerraformOutput
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :sensitive, as: 'sensitive'
766
+ property :value, as: 'value'
767
+ end
768
+ end
769
+
770
+ class TerraformVariable
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :input_value, as: 'inputValue'
774
+ end
775
+ end
776
+
777
+ class TerraformVersion
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :deprecate_time, as: 'deprecateTime'
781
+ property :name, as: 'name'
782
+ property :obsolete_time, as: 'obsoleteTime'
783
+ property :state, as: 'state'
784
+ property :support_time, as: 'supportTime'
785
+ end
786
+ end
787
+
788
+ class TestIamPermissionsRequest
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ collection :permissions, as: 'permissions'
792
+ end
793
+ end
794
+
795
+ class TestIamPermissionsResponse
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ collection :permissions, as: 'permissions'
799
+ end
800
+ end
801
+
802
+ class UnlockDeploymentRequest
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :lock_id, :numeric_string => true, as: 'lockId'
806
+ end
807
+ end
808
+ end
809
+ end
810
+ end