google-apis-run_v1 0.19.0 → 0.22.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_v1/classes.rb +820 -48
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +329 -0
- data/lib/google/apis/run_v1/service.rb +570 -2
- data/lib/google/apis/run_v1.rb +3 -2
- metadata +3 -3
@@ -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.
|
19
|
+
GEM_VERSION = "0.22.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 = "20220218"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ContainerStatus
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class DomainMapping
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -142,6 +148,36 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
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
|
+
|
145
181
|
class Expr
|
146
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
183
|
|
@@ -154,6 +190,12 @@ module Google
|
|
154
190
|
include Google::Apis::Core::JsonObjectSupport
|
155
191
|
end
|
156
192
|
|
193
|
+
class GoogleRpcStatus
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
157
199
|
class HttpGetAction
|
158
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
201
|
|
@@ -166,6 +208,24 @@ module Google
|
|
166
208
|
include Google::Apis::Core::JsonObjectSupport
|
167
209
|
end
|
168
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
|
+
|
169
229
|
class KeyToPath
|
170
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
231
|
|
@@ -190,6 +250,18 @@ module Google
|
|
190
250
|
include Google::Apis::Core::JsonObjectSupport
|
191
251
|
end
|
192
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
|
+
|
193
265
|
class ListLocationsResponse
|
194
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
267
|
|
@@ -220,6 +292,12 @@ module Google
|
|
220
292
|
include Google::Apis::Core::JsonObjectSupport
|
221
293
|
end
|
222
294
|
|
295
|
+
class ListTasksResponse
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
223
301
|
class LocalObjectReference
|
224
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
303
|
|
@@ -310,6 +388,12 @@ module Google
|
|
310
388
|
include Google::Apis::Core::JsonObjectSupport
|
311
389
|
end
|
312
390
|
|
391
|
+
class RunJobRequest
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
313
397
|
class SecretEnvSource
|
314
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
399
|
|
@@ -382,6 +466,36 @@ module Google
|
|
382
466
|
include Google::Apis::Core::JsonObjectSupport
|
383
467
|
end
|
384
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
|
+
|
385
499
|
class TestIamPermissionsRequest
|
386
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
501
|
|
@@ -560,6 +674,14 @@ module Google
|
|
560
674
|
end
|
561
675
|
end
|
562
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
|
+
|
563
685
|
class DomainMapping
|
564
686
|
# @private
|
565
687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -634,6 +756,63 @@ module Google
|
|
634
756
|
end
|
635
757
|
end
|
636
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
|
+
|
637
816
|
class Expr
|
638
817
|
# @private
|
639
818
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -656,6 +835,15 @@ module Google
|
|
656
835
|
end
|
657
836
|
end
|
658
837
|
|
838
|
+
class GoogleRpcStatus
|
839
|
+
# @private
|
840
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
841
|
+
property :code, as: 'code'
|
842
|
+
collection :details, as: 'details'
|
843
|
+
property :message, as: 'message'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
659
847
|
class HttpGetAction
|
660
848
|
# @private
|
661
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -675,6 +863,42 @@ module Google
|
|
675
863
|
end
|
676
864
|
end
|
677
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
|
+
|
678
902
|
class KeyToPath
|
679
903
|
# @private
|
680
904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,6 +943,32 @@ module Google
|
|
719
943
|
end
|
720
944
|
end
|
721
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
|
+
|
722
972
|
class ListLocationsResponse
|
723
973
|
# @private
|
724
974
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -776,6 +1026,19 @@ module Google
|
|
776
1026
|
end
|
777
1027
|
end
|
778
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
|
+
|
779
1042
|
class LocalObjectReference
|
780
1043
|
# @private
|
781
1044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -962,6 +1225,12 @@ module Google
|
|
962
1225
|
end
|
963
1226
|
end
|
964
1227
|
|
1228
|
+
class RunJobRequest
|
1229
|
+
# @private
|
1230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
|
965
1234
|
class SecretEnvSource
|
966
1235
|
# @private
|
967
1236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1094,6 +1363,66 @@ module Google
|
|
1094
1363
|
end
|
1095
1364
|
end
|
1096
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
|
+
|
1097
1426
|
class TestIamPermissionsRequest
|
1098
1427
|
# @private
|
1099
1428
|
class Representation < Google::Apis::Core::JsonRepresentation
|