google-apis-run_v2 0.10.0 → 0.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/run_v2/classes.rb +1130 -269
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +254 -7
- data/lib/google/apis/run_v2/service.rb +537 -4
- 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.13.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 = "20220429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,42 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudRunV2Execution
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudRunV2ExecutionReference
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudRunV2ExecutionTemplate
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudRunV2Job
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudRunV2ListExecutionsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudRunV2ListJobsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
67
103
|
class GoogleCloudRunV2ListRevisionsResponse
|
68
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
105
|
|
@@ -76,6 +112,12 @@ module Google
|
|
76
112
|
include Google::Apis::Core::JsonObjectSupport
|
77
113
|
end
|
78
114
|
|
115
|
+
class GoogleCloudRunV2ListTasksResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
79
121
|
class GoogleCloudRunV2ResourceRequirements
|
80
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
123
|
|
@@ -100,6 +142,12 @@ module Google
|
|
100
142
|
include Google::Apis::Core::JsonObjectSupport
|
101
143
|
end
|
102
144
|
|
145
|
+
class GoogleCloudRunV2RunJobRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
103
151
|
class GoogleCloudRunV2SecretKeySelector
|
104
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
153
|
|
@@ -118,6 +166,24 @@ module Google
|
|
118
166
|
include Google::Apis::Core::JsonObjectSupport
|
119
167
|
end
|
120
168
|
|
169
|
+
class GoogleCloudRunV2Task
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleCloudRunV2TaskAttemptResult
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudRunV2TaskTemplate
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
121
187
|
class GoogleCloudRunV2TrafficTarget
|
122
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
189
|
|
@@ -230,7 +296,6 @@ module Google
|
|
230
296
|
# @private
|
231
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
232
298
|
property :breakglass_justification, as: 'breakglassJustification'
|
233
|
-
property :policy, as: 'policy'
|
234
299
|
property :use_default, as: 'useDefault'
|
235
300
|
end
|
236
301
|
end
|
@@ -245,9 +310,7 @@ module Google
|
|
245
310
|
class GoogleCloudRunV2Condition
|
246
311
|
# @private
|
247
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
-
property :domain_mapping_reason, as: 'domainMappingReason'
|
249
313
|
property :execution_reason, as: 'executionReason'
|
250
|
-
property :internal_reason, as: 'internalReason'
|
251
314
|
property :last_transition_time, as: 'lastTransitionTime'
|
252
315
|
property :message, as: 'message'
|
253
316
|
property :reason, as: 'reason'
|
@@ -302,6 +365,109 @@ module Google
|
|
302
365
|
end
|
303
366
|
end
|
304
367
|
|
368
|
+
class GoogleCloudRunV2Execution
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
hash :annotations, as: 'annotations'
|
372
|
+
property :completion_time, as: 'completionTime'
|
373
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
374
|
+
|
375
|
+
property :create_time, as: 'createTime'
|
376
|
+
property :delete_time, as: 'deleteTime'
|
377
|
+
property :etag, as: 'etag'
|
378
|
+
property :expire_time, as: 'expireTime'
|
379
|
+
property :failed_count, as: 'failedCount'
|
380
|
+
property :generation, :numeric_string => true, as: 'generation'
|
381
|
+
property :job, as: 'job'
|
382
|
+
hash :labels, as: 'labels'
|
383
|
+
property :launch_stage, as: 'launchStage'
|
384
|
+
property :name, as: 'name'
|
385
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
386
|
+
property :parallelism, as: 'parallelism'
|
387
|
+
property :reconciling, as: 'reconciling'
|
388
|
+
property :running_count, as: 'runningCount'
|
389
|
+
property :start_time, as: 'startTime'
|
390
|
+
property :succeeded_count, as: 'succeededCount'
|
391
|
+
property :task_count, as: 'taskCount'
|
392
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
|
393
|
+
|
394
|
+
property :uid, as: 'uid'
|
395
|
+
property :update_time, as: 'updateTime'
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
class GoogleCloudRunV2ExecutionReference
|
400
|
+
# @private
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
property :create_time, as: 'createTime'
|
403
|
+
property :name, as: 'name'
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
class GoogleCloudRunV2ExecutionTemplate
|
408
|
+
# @private
|
409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
410
|
+
hash :annotations, as: 'annotations'
|
411
|
+
hash :labels, as: 'labels'
|
412
|
+
property :parallelism, as: 'parallelism'
|
413
|
+
property :task_count, as: 'taskCount'
|
414
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
|
415
|
+
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class GoogleCloudRunV2Job
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
hash :annotations, as: 'annotations'
|
423
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization::Representation
|
424
|
+
|
425
|
+
property :client, as: 'client'
|
426
|
+
property :client_version, as: 'clientVersion'
|
427
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
428
|
+
|
429
|
+
property :create_time, as: 'createTime'
|
430
|
+
property :creator, as: 'creator'
|
431
|
+
property :delete_time, as: 'deleteTime'
|
432
|
+
property :etag, as: 'etag'
|
433
|
+
property :execution_count, as: 'executionCount'
|
434
|
+
property :expire_time, as: 'expireTime'
|
435
|
+
property :generation, :numeric_string => true, as: 'generation'
|
436
|
+
hash :labels, as: 'labels'
|
437
|
+
property :last_modifier, as: 'lastModifier'
|
438
|
+
property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference::Representation
|
439
|
+
|
440
|
+
property :launch_stage, as: 'launchStage'
|
441
|
+
property :name, as: 'name'
|
442
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
443
|
+
property :reconciling, as: 'reconciling'
|
444
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
|
445
|
+
|
446
|
+
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
447
|
+
|
448
|
+
property :uid, as: 'uid'
|
449
|
+
property :update_time, as: 'updateTime'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class GoogleCloudRunV2ListExecutionsResponse
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
collection :executions, as: 'executions', class: Google::Apis::RunV2::GoogleCloudRunV2Execution, decorator: Google::Apis::RunV2::GoogleCloudRunV2Execution::Representation
|
457
|
+
|
458
|
+
property :next_page_token, as: 'nextPageToken'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
class GoogleCloudRunV2ListJobsResponse
|
463
|
+
# @private
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
465
|
+
collection :jobs, as: 'jobs', class: Google::Apis::RunV2::GoogleCloudRunV2Job, decorator: Google::Apis::RunV2::GoogleCloudRunV2Job::Representation
|
466
|
+
|
467
|
+
property :next_page_token, as: 'nextPageToken'
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
305
471
|
class GoogleCloudRunV2ListRevisionsResponse
|
306
472
|
# @private
|
307
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -320,6 +486,15 @@ module Google
|
|
320
486
|
end
|
321
487
|
end
|
322
488
|
|
489
|
+
class GoogleCloudRunV2ListTasksResponse
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :next_page_token, as: 'nextPageToken'
|
493
|
+
collection :tasks, as: 'tasks', class: Google::Apis::RunV2::GoogleCloudRunV2Task, decorator: Google::Apis::RunV2::GoogleCloudRunV2Task::Representation
|
494
|
+
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
323
498
|
class GoogleCloudRunV2ResourceRequirements
|
324
499
|
# @private
|
325
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -334,8 +509,6 @@ module Google
|
|
334
509
|
hash :annotations, as: 'annotations'
|
335
510
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
336
511
|
|
337
|
-
property :confidential, as: 'confidential'
|
338
|
-
property :container_concurrency, as: 'containerConcurrency'
|
339
512
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
340
513
|
|
341
514
|
property :create_time, as: 'createTime'
|
@@ -348,6 +521,7 @@ module Google
|
|
348
521
|
hash :labels, as: 'labels'
|
349
522
|
property :launch_stage, as: 'launchStage'
|
350
523
|
property :log_uri, as: 'logUri'
|
524
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
351
525
|
property :name, as: 'name'
|
352
526
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
353
527
|
property :reconciling, as: 'reconciling'
|
@@ -377,13 +551,12 @@ module Google
|
|
377
551
|
# @private
|
378
552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
379
553
|
hash :annotations, as: 'annotations'
|
380
|
-
property :confidential, as: 'confidential'
|
381
|
-
property :container_concurrency, as: 'containerConcurrency'
|
382
554
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
383
555
|
|
384
556
|
property :encryption_key, as: 'encryptionKey'
|
385
557
|
property :execution_environment, as: 'executionEnvironment'
|
386
558
|
hash :labels, as: 'labels'
|
559
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
387
560
|
property :revision, as: 'revision'
|
388
561
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
389
562
|
|
@@ -396,6 +569,14 @@ module Google
|
|
396
569
|
end
|
397
570
|
end
|
398
571
|
|
572
|
+
class GoogleCloudRunV2RunJobRequest
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :etag, as: 'etag'
|
576
|
+
property :validate_only, as: 'validateOnly'
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
399
580
|
class GoogleCloudRunV2SecretKeySelector
|
400
581
|
# @private
|
401
582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,6 +635,72 @@ module Google
|
|
454
635
|
end
|
455
636
|
end
|
456
637
|
|
638
|
+
class GoogleCloudRunV2Task
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
hash :annotations, as: 'annotations'
|
642
|
+
property :completion_time, as: 'completionTime'
|
643
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
644
|
+
|
645
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
646
|
+
|
647
|
+
property :create_time, as: 'createTime'
|
648
|
+
property :delete_time, as: 'deleteTime'
|
649
|
+
property :encryption_key, as: 'encryptionKey'
|
650
|
+
property :etag, as: 'etag'
|
651
|
+
property :execution, as: 'execution'
|
652
|
+
property :execution_environment, as: 'executionEnvironment'
|
653
|
+
property :expire_time, as: 'expireTime'
|
654
|
+
property :generation, :numeric_string => true, as: 'generation'
|
655
|
+
property :index, as: 'index'
|
656
|
+
property :job, as: 'job'
|
657
|
+
hash :labels, as: 'labels'
|
658
|
+
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult::Representation
|
659
|
+
|
660
|
+
property :launch_stage, as: 'launchStage'
|
661
|
+
property :max_retries, as: 'maxRetries'
|
662
|
+
property :name, as: 'name'
|
663
|
+
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
664
|
+
property :reconciling, as: 'reconciling'
|
665
|
+
property :retried, as: 'retried'
|
666
|
+
property :service_account, as: 'serviceAccount'
|
667
|
+
property :start_time, as: 'startTime'
|
668
|
+
property :timeout, as: 'timeout'
|
669
|
+
property :uid, as: 'uid'
|
670
|
+
property :update_time, as: 'updateTime'
|
671
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
672
|
+
|
673
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
674
|
+
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
678
|
+
class GoogleCloudRunV2TaskAttemptResult
|
679
|
+
# @private
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
681
|
+
property :exit_code, as: 'exitCode'
|
682
|
+
property :status, as: 'status', class: Google::Apis::RunV2::GoogleRpcStatus, decorator: Google::Apis::RunV2::GoogleRpcStatus::Representation
|
683
|
+
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
687
|
+
class GoogleCloudRunV2TaskTemplate
|
688
|
+
# @private
|
689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
690
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
691
|
+
|
692
|
+
property :encryption_key, as: 'encryptionKey'
|
693
|
+
property :execution_environment, as: 'executionEnvironment'
|
694
|
+
property :max_retries, as: 'maxRetries'
|
695
|
+
property :service_account, as: 'serviceAccount'
|
696
|
+
property :timeout, as: 'timeout'
|
697
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
698
|
+
|
699
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
700
|
+
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
457
704
|
class GoogleCloudRunV2TrafficTarget
|
458
705
|
# @private
|
459
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|