google-apis-run_v2 0.9.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.9.0"
19
+ GEM_VERSION = "0.12.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 = "20220401"
25
+ REVISION = "20220422"
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
 
@@ -230,7 +302,6 @@ module Google
230
302
  # @private
231
303
  class Representation < Google::Apis::Core::JsonRepresentation
232
304
  property :breakglass_justification, as: 'breakglassJustification'
233
- property :policy, as: 'policy'
234
305
  property :use_default, as: 'useDefault'
235
306
  end
236
307
  end
@@ -238,7 +309,7 @@ module Google
238
309
  class GoogleCloudRunV2CloudSqlInstance
239
310
  # @private
240
311
  class Representation < Google::Apis::Core::JsonRepresentation
241
- collection :connections, as: 'connections'
312
+ collection :instances, as: 'instances'
242
313
  end
243
314
  end
244
315
 
@@ -284,6 +355,14 @@ module Google
284
355
  end
285
356
  end
286
357
 
358
+ class GoogleCloudRunV2ContainerStatus
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :image_digest, as: 'imageDigest'
362
+ property :name, as: 'name'
363
+ end
364
+ end
365
+
287
366
  class GoogleCloudRunV2EnvVar
288
367
  # @private
289
368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -302,6 +381,111 @@ module Google
302
381
  end
303
382
  end
304
383
 
384
+ class GoogleCloudRunV2Execution
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ hash :annotations, as: 'annotations'
388
+ property :completion_time, as: 'completionTime'
389
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
390
+
391
+ property :create_time, as: 'createTime'
392
+ property :delete_time, as: 'deleteTime'
393
+ property :etag, as: 'etag'
394
+ property :expire_time, as: 'expireTime'
395
+ property :failed_count, as: 'failedCount'
396
+ property :generation, :numeric_string => true, as: 'generation'
397
+ property :job, as: 'job'
398
+ hash :labels, as: 'labels'
399
+ property :launch_stage, as: 'launchStage'
400
+ property :name, as: 'name'
401
+ property :observed_generation, :numeric_string => true, as: 'observedGeneration'
402
+ property :parallelism, as: 'parallelism'
403
+ property :reconciling, as: 'reconciling'
404
+ property :running_count, as: 'runningCount'
405
+ property :start_time, as: 'startTime'
406
+ property :succeeded_count, as: 'succeededCount'
407
+ property :task_count, as: 'taskCount'
408
+ property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
409
+
410
+ property :uid, as: 'uid'
411
+ property :update_time, as: 'updateTime'
412
+ end
413
+ end
414
+
415
+ class GoogleCloudRunV2ExecutionReference
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :create_time, as: 'createTime'
419
+ property :name, as: 'name'
420
+ end
421
+ end
422
+
423
+ class GoogleCloudRunV2ExecutionTemplate
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ hash :annotations, as: 'annotations'
427
+ hash :labels, as: 'labels'
428
+ property :parallelism, as: 'parallelism'
429
+ property :task_count, as: 'taskCount'
430
+ property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskTemplate::Representation
431
+
432
+ end
433
+ end
434
+
435
+ class GoogleCloudRunV2Job
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ hash :annotations, as: 'annotations'
439
+ property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization::Representation
440
+
441
+ property :client, as: 'client'
442
+ property :client_version, as: 'clientVersion'
443
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
444
+
445
+ collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus::Representation
446
+
447
+ property :create_time, as: 'createTime'
448
+ property :creator, as: 'creator'
449
+ property :delete_time, as: 'deleteTime'
450
+ property :etag, as: 'etag'
451
+ property :execution_count, as: 'executionCount'
452
+ property :expire_time, as: 'expireTime'
453
+ property :generation, :numeric_string => true, as: 'generation'
454
+ hash :labels, as: 'labels'
455
+ property :last_modifier, as: 'lastModifier'
456
+ property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference::Representation
457
+
458
+ property :launch_stage, as: 'launchStage'
459
+ property :name, as: 'name'
460
+ property :observed_generation, :numeric_string => true, as: 'observedGeneration'
461
+ property :reconciling, as: 'reconciling'
462
+ property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
463
+
464
+ property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
465
+
466
+ property :uid, as: 'uid'
467
+ property :update_time, as: 'updateTime'
468
+ end
469
+ end
470
+
471
+ class GoogleCloudRunV2ListExecutionsResponse
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ collection :executions, as: 'executions', class: Google::Apis::RunV2::GoogleCloudRunV2Execution, decorator: Google::Apis::RunV2::GoogleCloudRunV2Execution::Representation
475
+
476
+ property :next_page_token, as: 'nextPageToken'
477
+ end
478
+ end
479
+
480
+ class GoogleCloudRunV2ListJobsResponse
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ collection :jobs, as: 'jobs', class: Google::Apis::RunV2::GoogleCloudRunV2Job, decorator: Google::Apis::RunV2::GoogleCloudRunV2Job::Representation
484
+
485
+ property :next_page_token, as: 'nextPageToken'
486
+ end
487
+ end
488
+
305
489
  class GoogleCloudRunV2ListRevisionsResponse
306
490
  # @private
307
491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -320,6 +504,15 @@ module Google
320
504
  end
321
505
  end
322
506
 
507
+ class GoogleCloudRunV2ListTasksResponse
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :next_page_token, as: 'nextPageToken'
511
+ collection :tasks, as: 'tasks', class: Google::Apis::RunV2::GoogleCloudRunV2Task, decorator: Google::Apis::RunV2::GoogleCloudRunV2Task::Representation
512
+
513
+ end
514
+ end
515
+
323
516
  class GoogleCloudRunV2ResourceRequirements
324
517
  # @private
325
518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +589,14 @@ module Google
396
589
  end
397
590
  end
398
591
 
592
+ class GoogleCloudRunV2RunJobRequest
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :etag, as: 'etag'
596
+ property :validate_only, as: 'validateOnly'
597
+ end
598
+ end
599
+
399
600
  class GoogleCloudRunV2SecretKeySelector
400
601
  # @private
401
602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -454,6 +655,72 @@ module Google
454
655
  end
455
656
  end
456
657
 
658
+ class GoogleCloudRunV2Task
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ hash :annotations, as: 'annotations'
662
+ property :completion_time, as: 'completionTime'
663
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
664
+
665
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
666
+
667
+ property :create_time, as: 'createTime'
668
+ property :delete_time, as: 'deleteTime'
669
+ property :encryption_key, as: 'encryptionKey'
670
+ property :etag, as: 'etag'
671
+ property :execution, as: 'execution'
672
+ property :execution_environment, as: 'executionEnvironment'
673
+ property :expire_time, as: 'expireTime'
674
+ property :generation, :numeric_string => true, as: 'generation'
675
+ property :index, as: 'index'
676
+ property :job, as: 'job'
677
+ hash :labels, as: 'labels'
678
+ property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult::Representation
679
+
680
+ property :launch_stage, as: 'launchStage'
681
+ property :max_retries, as: 'maxRetries'
682
+ property :name, as: 'name'
683
+ property :observed_generation, :numeric_string => true, as: 'observedGeneration'
684
+ property :reconciling, as: 'reconciling'
685
+ property :retried, as: 'retried'
686
+ property :service_account, as: 'serviceAccount'
687
+ property :start_time, as: 'startTime'
688
+ property :timeout, as: 'timeout'
689
+ property :uid, as: 'uid'
690
+ property :update_time, as: 'updateTime'
691
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
692
+
693
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
694
+
695
+ end
696
+ end
697
+
698
+ class GoogleCloudRunV2TaskAttemptResult
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :exit_code, as: 'exitCode'
702
+ property :status, as: 'status', class: Google::Apis::RunV2::GoogleRpcStatus, decorator: Google::Apis::RunV2::GoogleRpcStatus::Representation
703
+
704
+ end
705
+ end
706
+
707
+ class GoogleCloudRunV2TaskTemplate
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
711
+
712
+ property :encryption_key, as: 'encryptionKey'
713
+ property :execution_environment, as: 'executionEnvironment'
714
+ property :max_retries, as: 'maxRetries'
715
+ property :service_account, as: 'serviceAccount'
716
+ property :timeout, as: 'timeout'
717
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
718
+
719
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
720
+
721
+ end
722
+ end
723
+
457
724
  class GoogleCloudRunV2TrafficTarget
458
725
  # @private
459
726
  class Representation < Google::Apis::Core::JsonRepresentation