google-apis-run_v2 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v2/classes.rb +934 -13
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +268 -0
- data/lib/google/apis/run_v2/service.rb +539 -0
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV2
|
18
18
|
# Version of the google-apis-run_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class GoogleCloudRunV2ContainerStatus
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class GoogleCloudRunV2EnvVar
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -64,6 +70,42 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudRunV2Execution
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudRunV2ExecutionReference
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudRunV2ExecutionTemplate
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudRunV2Job
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudRunV2ListExecutionsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudRunV2ListJobsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
67
109
|
class GoogleCloudRunV2ListRevisionsResponse
|
68
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
111
|
|
@@ -76,6 +118,12 @@ module Google
|
|
76
118
|
include Google::Apis::Core::JsonObjectSupport
|
77
119
|
end
|
78
120
|
|
121
|
+
class GoogleCloudRunV2ListTasksResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
79
127
|
class GoogleCloudRunV2ResourceRequirements
|
80
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
129
|
|
@@ -100,6 +148,12 @@ module Google
|
|
100
148
|
include Google::Apis::Core::JsonObjectSupport
|
101
149
|
end
|
102
150
|
|
151
|
+
class GoogleCloudRunV2RunJobRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
103
157
|
class GoogleCloudRunV2SecretKeySelector
|
104
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
159
|
|
@@ -118,6 +172,24 @@ module Google
|
|
118
172
|
include Google::Apis::Core::JsonObjectSupport
|
119
173
|
end
|
120
174
|
|
175
|
+
class GoogleCloudRunV2Task
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudRunV2TaskAttemptResult
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleCloudRunV2TaskTemplate
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
121
193
|
class GoogleCloudRunV2TrafficTarget
|
122
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
195
|
|
@@ -284,6 +356,14 @@ module Google
|
|
284
356
|
end
|
285
357
|
end
|
286
358
|
|
359
|
+
class GoogleCloudRunV2ContainerStatus
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :image_digest, as: 'imageDigest'
|
363
|
+
property :name, as: 'name'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
287
367
|
class GoogleCloudRunV2EnvVar
|
288
368
|
# @private
|
289
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -302,6 +382,111 @@ module Google
|
|
302
382
|
end
|
303
383
|
end
|
304
384
|
|
385
|
+
class GoogleCloudRunV2Execution
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
hash :annotations, as: 'annotations'
|
389
|
+
property :completion_time, as: 'completionTime'
|
390
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
391
|
+
|
392
|
+
property :create_time, as: 'createTime'
|
393
|
+
property :delete_time, as: 'deleteTime'
|
394
|
+
property :etag, as: 'etag'
|
395
|
+
property :expire_time, as: 'expireTime'
|
396
|
+
property :failed_count, as: 'failedCount'
|
397
|
+
property :generation, :numeric_string => true, as: 'generation'
|
398
|
+
property :job, as: 'job'
|
399
|
+
hash :labels, as: 'labels'
|
400
|
+
property :launch_stage, as: 'launchStage'
|
401
|
+
property :name, as: 'name'
|
402
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
403
|
+
property :parallelism, as: 'parallelism'
|
404
|
+
property :reconciling, as: 'reconciling'
|
405
|
+
property :running_count, as: 'runningCount'
|
406
|
+
property :start_time, as: 'startTime'
|
407
|
+
property :succeeded_count, as: 'succeededCount'
|
408
|
+
property :task_count, as: 'taskCount'
|
409
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
|
410
|
+
|
411
|
+
property :uid, as: 'uid'
|
412
|
+
property :update_time, as: 'updateTime'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class GoogleCloudRunV2ExecutionReference
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :create_time, as: 'createTime'
|
420
|
+
property :name, as: 'name'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class GoogleCloudRunV2ExecutionTemplate
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
hash :annotations, as: 'annotations'
|
428
|
+
hash :labels, as: 'labels'
|
429
|
+
property :parallelism, as: 'parallelism'
|
430
|
+
property :task_count, as: 'taskCount'
|
431
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
|
432
|
+
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class GoogleCloudRunV2Job
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
hash :annotations, as: 'annotations'
|
440
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization::Representation
|
441
|
+
|
442
|
+
property :client, as: 'client'
|
443
|
+
property :client_version, as: 'clientVersion'
|
444
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
445
|
+
|
446
|
+
collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus::Representation
|
447
|
+
|
448
|
+
property :create_time, as: 'createTime'
|
449
|
+
property :creator, as: 'creator'
|
450
|
+
property :delete_time, as: 'deleteTime'
|
451
|
+
property :etag, as: 'etag'
|
452
|
+
property :execution_count, as: 'executionCount'
|
453
|
+
property :expire_time, as: 'expireTime'
|
454
|
+
property :generation, :numeric_string => true, as: 'generation'
|
455
|
+
hash :labels, as: 'labels'
|
456
|
+
property :last_modifier, as: 'lastModifier'
|
457
|
+
property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference::Representation
|
458
|
+
|
459
|
+
property :launch_stage, as: 'launchStage'
|
460
|
+
property :name, as: 'name'
|
461
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
462
|
+
property :reconciling, as: 'reconciling'
|
463
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
|
464
|
+
|
465
|
+
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
466
|
+
|
467
|
+
property :uid, as: 'uid'
|
468
|
+
property :update_time, as: 'updateTime'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class GoogleCloudRunV2ListExecutionsResponse
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
collection :executions, as: 'executions', class: Google::Apis::RunV2::GoogleCloudRunV2Execution, decorator: Google::Apis::RunV2::GoogleCloudRunV2Execution::Representation
|
476
|
+
|
477
|
+
property :next_page_token, as: 'nextPageToken'
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class GoogleCloudRunV2ListJobsResponse
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
collection :jobs, as: 'jobs', class: Google::Apis::RunV2::GoogleCloudRunV2Job, decorator: Google::Apis::RunV2::GoogleCloudRunV2Job::Representation
|
485
|
+
|
486
|
+
property :next_page_token, as: 'nextPageToken'
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
305
490
|
class GoogleCloudRunV2ListRevisionsResponse
|
306
491
|
# @private
|
307
492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -320,6 +505,15 @@ module Google
|
|
320
505
|
end
|
321
506
|
end
|
322
507
|
|
508
|
+
class GoogleCloudRunV2ListTasksResponse
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :next_page_token, as: 'nextPageToken'
|
512
|
+
collection :tasks, as: 'tasks', class: Google::Apis::RunV2::GoogleCloudRunV2Task, decorator: Google::Apis::RunV2::GoogleCloudRunV2Task::Representation
|
513
|
+
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
323
517
|
class GoogleCloudRunV2ResourceRequirements
|
324
518
|
# @private
|
325
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -396,6 +590,14 @@ module Google
|
|
396
590
|
end
|
397
591
|
end
|
398
592
|
|
593
|
+
class GoogleCloudRunV2RunJobRequest
|
594
|
+
# @private
|
595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :etag, as: 'etag'
|
597
|
+
property :validate_only, as: 'validateOnly'
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
399
601
|
class GoogleCloudRunV2SecretKeySelector
|
400
602
|
# @private
|
401
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,6 +656,72 @@ module Google
|
|
454
656
|
end
|
455
657
|
end
|
456
658
|
|
659
|
+
class GoogleCloudRunV2Task
|
660
|
+
# @private
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
+
hash :annotations, as: 'annotations'
|
663
|
+
property :completion_time, as: 'completionTime'
|
664
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
665
|
+
|
666
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
667
|
+
|
668
|
+
property :create_time, as: 'createTime'
|
669
|
+
property :delete_time, as: 'deleteTime'
|
670
|
+
property :encryption_key, as: 'encryptionKey'
|
671
|
+
property :etag, as: 'etag'
|
672
|
+
property :execution, as: 'execution'
|
673
|
+
property :execution_environment, as: 'executionEnvironment'
|
674
|
+
property :expire_time, as: 'expireTime'
|
675
|
+
property :generation, :numeric_string => true, as: 'generation'
|
676
|
+
property :index, as: 'index'
|
677
|
+
property :job, as: 'job'
|
678
|
+
hash :labels, as: 'labels'
|
679
|
+
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult::Representation
|
680
|
+
|
681
|
+
property :launch_stage, as: 'launchStage'
|
682
|
+
property :max_retries, as: 'maxRetries'
|
683
|
+
property :name, as: 'name'
|
684
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
685
|
+
property :reconciling, as: 'reconciling'
|
686
|
+
property :retried, as: 'retried'
|
687
|
+
property :service_account, as: 'serviceAccount'
|
688
|
+
property :start_time, as: 'startTime'
|
689
|
+
property :timeout, as: 'timeout'
|
690
|
+
property :uid, as: 'uid'
|
691
|
+
property :update_time, as: 'updateTime'
|
692
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
693
|
+
|
694
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
695
|
+
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
class GoogleCloudRunV2TaskAttemptResult
|
700
|
+
# @private
|
701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
702
|
+
property :exit_code, as: 'exitCode'
|
703
|
+
property :status, as: 'status', class: Google::Apis::RunV2::GoogleRpcStatus, decorator: Google::Apis::RunV2::GoogleRpcStatus::Representation
|
704
|
+
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
class GoogleCloudRunV2TaskTemplate
|
709
|
+
# @private
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
711
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
712
|
+
|
713
|
+
property :encryption_key, as: 'encryptionKey'
|
714
|
+
property :execution_environment, as: 'executionEnvironment'
|
715
|
+
property :max_retries, as: 'maxRetries'
|
716
|
+
property :service_account, as: 'serviceAccount'
|
717
|
+
property :timeout, as: 'timeout'
|
718
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
719
|
+
|
720
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
721
|
+
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
457
725
|
class GoogleCloudRunV2TrafficTarget
|
458
726
|
# @private
|
459
727
|
class Representation < Google::Apis::Core::JsonRepresentation
|