google-apis-run_v1 0.17.0 → 0.21.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 RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211112"
25
+ REVISION = "20220204"
26
26
  end
27
27
  end
28
28
  end
@@ -100,25 +100,25 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class DomainMapping
103
+ class ContainerStatus
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class DomainMappingSpec
109
+ class DomainMapping
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class DomainMappingStatus
115
+ class DomainMappingSpec
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class Empty
121
+ class DomainMappingStatus
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
@@ -148,6 +148,36 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class Execution
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ExecutionReference
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ExecutionSpec
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ExecutionStatus
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ExecutionTemplateSpec
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
151
181
  class Expr
152
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
183
 
@@ -160,7 +190,7 @@ module Google
160
190
  include Google::Apis::Core::JsonObjectSupport
161
191
  end
162
192
 
163
- class GoogleLongrunningCancelOperationRequest
193
+ class GoogleRpcStatus
164
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
195
 
166
196
  include Google::Apis::Core::JsonObjectSupport
@@ -178,6 +208,24 @@ module Google
178
208
  include Google::Apis::Core::JsonObjectSupport
179
209
  end
180
210
 
211
+ class Job
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class JobSpec
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class JobStatus
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
181
229
  class KeyToPath
182
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
231
 
@@ -202,6 +250,18 @@ module Google
202
250
  include Google::Apis::Core::JsonObjectSupport
203
251
  end
204
252
 
253
+ class ListExecutionsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListJobsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
205
265
  class ListLocationsResponse
206
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
267
 
@@ -232,6 +292,12 @@ module Google
232
292
  include Google::Apis::Core::JsonObjectSupport
233
293
  end
234
294
 
295
+ class ListTasksResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
235
301
  class LocalObjectReference
236
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
303
 
@@ -322,6 +388,12 @@ module Google
322
388
  include Google::Apis::Core::JsonObjectSupport
323
389
  end
324
390
 
391
+ class RunJobRequest
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
325
397
  class SecretEnvSource
326
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
399
 
@@ -394,6 +466,36 @@ module Google
394
466
  include Google::Apis::Core::JsonObjectSupport
395
467
  end
396
468
 
469
+ class Task
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class TaskAttemptResult
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class TaskSpec
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class TaskStatus
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class TaskTemplateSpec
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
397
499
  class TestIamPermissionsRequest
398
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
501
 
@@ -572,6 +674,14 @@ module Google
572
674
  end
573
675
  end
574
676
 
677
+ class ContainerStatus
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :image_digest, as: 'imageDigest'
681
+ property :name, as: 'name'
682
+ end
683
+ end
684
+
575
685
  class DomainMapping
576
686
  # @private
577
687
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -608,12 +718,6 @@ module Google
608
718
  end
609
719
  end
610
720
 
611
- class Empty
612
- # @private
613
- class Representation < Google::Apis::Core::JsonRepresentation
614
- end
615
- end
616
-
617
721
  class EnvFromSource
618
722
  # @private
619
723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,6 +756,63 @@ module Google
652
756
  end
653
757
  end
654
758
 
759
+ class Execution
760
+ # @private
761
+ class Representation < Google::Apis::Core::JsonRepresentation
762
+ property :api_version, as: 'apiVersion'
763
+ property :kind, as: 'kind'
764
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
765
+
766
+ property :spec, as: 'spec', class: Google::Apis::RunV1::ExecutionSpec, decorator: Google::Apis::RunV1::ExecutionSpec::Representation
767
+
768
+ property :status, as: 'status', class: Google::Apis::RunV1::ExecutionStatus, decorator: Google::Apis::RunV1::ExecutionStatus::Representation
769
+
770
+ end
771
+ end
772
+
773
+ class ExecutionReference
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :creation_timestamp, as: 'creationTimestamp'
777
+ property :name, as: 'name'
778
+ end
779
+ end
780
+
781
+ class ExecutionSpec
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :parallelism, as: 'parallelism'
785
+ property :task_count, as: 'taskCount'
786
+ property :template, as: 'template', class: Google::Apis::RunV1::TaskTemplateSpec, decorator: Google::Apis::RunV1::TaskTemplateSpec::Representation
787
+
788
+ end
789
+ end
790
+
791
+ class ExecutionStatus
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :completion_time, as: 'completionTime'
795
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
796
+
797
+ property :failed_count, as: 'failedCount'
798
+ property :log_uri, as: 'logUri'
799
+ property :observed_generation, as: 'observedGeneration'
800
+ property :running_count, as: 'runningCount'
801
+ property :start_time, as: 'startTime'
802
+ property :succeeded_count, as: 'succeededCount'
803
+ end
804
+ end
805
+
806
+ class ExecutionTemplateSpec
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
810
+
811
+ property :spec, as: 'spec', class: Google::Apis::RunV1::ExecutionSpec, decorator: Google::Apis::RunV1::ExecutionSpec::Representation
812
+
813
+ end
814
+ end
815
+
655
816
  class Expr
656
817
  # @private
657
818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -674,9 +835,12 @@ module Google
674
835
  end
675
836
  end
676
837
 
677
- class GoogleLongrunningCancelOperationRequest
838
+ class GoogleRpcStatus
678
839
  # @private
679
840
  class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :code, as: 'code'
842
+ collection :details, as: 'details'
843
+ property :message, as: 'message'
680
844
  end
681
845
  end
682
846
 
@@ -699,6 +863,42 @@ module Google
699
863
  end
700
864
  end
701
865
 
866
+ class Job
867
+ # @private
868
+ class Representation < Google::Apis::Core::JsonRepresentation
869
+ property :api_version, as: 'apiVersion'
870
+ property :kind, as: 'kind'
871
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
872
+
873
+ property :spec, as: 'spec', class: Google::Apis::RunV1::JobSpec, decorator: Google::Apis::RunV1::JobSpec::Representation
874
+
875
+ property :status, as: 'status', class: Google::Apis::RunV1::JobStatus, decorator: Google::Apis::RunV1::JobStatus::Representation
876
+
877
+ end
878
+ end
879
+
880
+ class JobSpec
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :template, as: 'template', class: Google::Apis::RunV1::ExecutionTemplateSpec, decorator: Google::Apis::RunV1::ExecutionTemplateSpec::Representation
884
+
885
+ end
886
+ end
887
+
888
+ class JobStatus
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
892
+
893
+ collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV1::ContainerStatus, decorator: Google::Apis::RunV1::ContainerStatus::Representation
894
+
895
+ property :execution_count, as: 'executionCount'
896
+ property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV1::ExecutionReference, decorator: Google::Apis::RunV1::ExecutionReference::Representation
897
+
898
+ property :observed_generation, as: 'observedGeneration'
899
+ end
900
+ end
901
+
702
902
  class KeyToPath
703
903
  # @private
704
904
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -743,6 +943,32 @@ module Google
743
943
  end
744
944
  end
745
945
 
946
+ class ListExecutionsResponse
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :api_version, as: 'apiVersion'
950
+ collection :items, as: 'items', class: Google::Apis::RunV1::Execution, decorator: Google::Apis::RunV1::Execution::Representation
951
+
952
+ property :kind, as: 'kind'
953
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
954
+
955
+ collection :unreachable, as: 'unreachable'
956
+ end
957
+ end
958
+
959
+ class ListJobsResponse
960
+ # @private
961
+ class Representation < Google::Apis::Core::JsonRepresentation
962
+ property :api_version, as: 'apiVersion'
963
+ collection :items, as: 'items', class: Google::Apis::RunV1::Job, decorator: Google::Apis::RunV1::Job::Representation
964
+
965
+ property :kind, as: 'kind'
966
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
967
+
968
+ collection :unreachable, as: 'unreachable'
969
+ end
970
+ end
971
+
746
972
  class ListLocationsResponse
747
973
  # @private
748
974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -800,6 +1026,19 @@ module Google
800
1026
  end
801
1027
  end
802
1028
 
1029
+ class ListTasksResponse
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :api_version, as: 'apiVersion'
1033
+ collection :items, as: 'items', class: Google::Apis::RunV1::Task, decorator: Google::Apis::RunV1::Task::Representation
1034
+
1035
+ property :kind, as: 'kind'
1036
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ListMeta, decorator: Google::Apis::RunV1::ListMeta::Representation
1037
+
1038
+ collection :unreachable, as: 'unreachable'
1039
+ end
1040
+ end
1041
+
803
1042
  class LocalObjectReference
804
1043
  # @private
805
1044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -918,6 +1157,9 @@ module Google
918
1157
  property :container_concurrency, as: 'containerConcurrency'
919
1158
  collection :containers, as: 'containers', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
920
1159
 
1160
+ property :enable_service_links, as: 'enableServiceLinks'
1161
+ collection :image_pull_secrets, as: 'imagePullSecrets', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
1162
+
921
1163
  property :service_account_name, as: 'serviceAccountName'
922
1164
  property :timeout_seconds, as: 'timeoutSeconds'
923
1165
  collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
@@ -983,6 +1225,12 @@ module Google
983
1225
  end
984
1226
  end
985
1227
 
1228
+ class RunJobRequest
1229
+ # @private
1230
+ class Representation < Google::Apis::Core::JsonRepresentation
1231
+ end
1232
+ end
1233
+
986
1234
  class SecretEnvSource
987
1235
  # @private
988
1236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1115,6 +1363,66 @@ module Google
1115
1363
  end
1116
1364
  end
1117
1365
 
1366
+ class Task
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ property :api_version, as: 'apiVersion'
1370
+ property :kind, as: 'kind'
1371
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
1372
+
1373
+ property :spec, as: 'spec', class: Google::Apis::RunV1::TaskSpec, decorator: Google::Apis::RunV1::TaskSpec::Representation
1374
+
1375
+ property :status, as: 'status', class: Google::Apis::RunV1::TaskStatus, decorator: Google::Apis::RunV1::TaskStatus::Representation
1376
+
1377
+ end
1378
+ end
1379
+
1380
+ class TaskAttemptResult
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :exit_code, as: 'exitCode'
1384
+ property :status, as: 'status', class: Google::Apis::RunV1::GoogleRpcStatus, decorator: Google::Apis::RunV1::GoogleRpcStatus::Representation
1385
+
1386
+ end
1387
+ end
1388
+
1389
+ class TaskSpec
1390
+ # @private
1391
+ class Representation < Google::Apis::Core::JsonRepresentation
1392
+ collection :containers, as: 'containers', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
1393
+
1394
+ property :max_retries, as: 'maxRetries'
1395
+ property :service_account_name, as: 'serviceAccountName'
1396
+ property :timeout_seconds, :numeric_string => true, as: 'timeoutSeconds'
1397
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
1398
+
1399
+ end
1400
+ end
1401
+
1402
+ class TaskStatus
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :completion_time, as: 'completionTime'
1406
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
1407
+
1408
+ property :index, as: 'index'
1409
+ property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV1::TaskAttemptResult, decorator: Google::Apis::RunV1::TaskAttemptResult::Representation
1410
+
1411
+ property :log_uri, as: 'logUri'
1412
+ property :observed_generation, as: 'observedGeneration'
1413
+ property :retried, as: 'retried'
1414
+ property :start_time, as: 'startTime'
1415
+ end
1416
+ end
1417
+
1418
+ class TaskTemplateSpec
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ property :spec, as: 'spec', class: Google::Apis::RunV1::TaskSpec, decorator: Google::Apis::RunV1::TaskSpec::Representation
1422
+
1423
+ end
1424
+ end
1425
+
1118
1426
  class TestIamPermissionsRequest
1119
1427
  # @private
1120
1428
  class Representation < Google::Apis::Core::JsonRepresentation