google-apis-run_v2 0.48.0 → 0.50.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 +8 -0
- data/lib/google/apis/run_v2/classes.rb +80 -10
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +35 -1
- data/lib/google/apis/run_v2/service.rb +12 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31f7899b7b258621e3fd2505aded0d943dee4f791c4e062337c37bc2409f2832
|
4
|
+
data.tar.gz: 9cc34f16091d26bfd8d7ad5241ba82a7e5035be4da83529d9d1b629b80744843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a66bcfebc0c464f9cb176acdbdad29925a3275e26fe2994383b43afd9cb5e99c0c4ce876214c17e4e8229cd22c16c2f6af270db4cb06667e5a445ab53645a81b
|
7
|
+
data.tar.gz: 49d2e323a4c7dc36db2e5f205b169571bbbcb4f707a41b5e3e83dabbe9d868c0e7a78746982de45fe9acbbcb658eaac03af0e6add04fb1d5b8cca1abef70884e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.50.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231001
|
6
|
+
|
7
|
+
### v0.49.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230924
|
10
|
+
|
3
11
|
### v0.48.0 (2023-09-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230917
|
@@ -266,6 +266,45 @@ module Google
|
|
266
266
|
end
|
267
267
|
end
|
268
268
|
|
269
|
+
# Per-container override specification.
|
270
|
+
class GoogleCloudRunV2ContainerOverride
|
271
|
+
include Google::Apis::Core::Hashable
|
272
|
+
|
273
|
+
# Optional. Arguments to the entrypoint. Will replace existing args for override.
|
274
|
+
# Corresponds to the JSON property `args`
|
275
|
+
# @return [Array<String>]
|
276
|
+
attr_accessor :args
|
277
|
+
|
278
|
+
# Optional. True if the intention is to clear out existing args list.
|
279
|
+
# Corresponds to the JSON property `clearArgs`
|
280
|
+
# @return [Boolean]
|
281
|
+
attr_accessor :clear_args
|
282
|
+
alias_method :clear_args?, :clear_args
|
283
|
+
|
284
|
+
# List of environment variables to set in the container. Will be merged with
|
285
|
+
# existing env for override.
|
286
|
+
# Corresponds to the JSON property `env`
|
287
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
|
288
|
+
attr_accessor :env
|
289
|
+
|
290
|
+
# The name of the container specified as a DNS_LABEL.
|
291
|
+
# Corresponds to the JSON property `name`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :name
|
294
|
+
|
295
|
+
def initialize(**args)
|
296
|
+
update!(**args)
|
297
|
+
end
|
298
|
+
|
299
|
+
# Update properties of this object
|
300
|
+
def update!(**args)
|
301
|
+
@args = args[:args] if args.key?(:args)
|
302
|
+
@clear_args = args[:clear_args] if args.key?(:clear_args)
|
303
|
+
@env = args[:env] if args.key?(:env)
|
304
|
+
@name = args[:name] if args.key?(:name)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
269
308
|
# ContainerPort represents a network port in a single container.
|
270
309
|
class GoogleCloudRunV2ContainerPort
|
271
310
|
include Google::Apis::Core::Hashable
|
@@ -332,8 +371,7 @@ module Google
|
|
332
371
|
class GoogleCloudRunV2EnvVar
|
333
372
|
include Google::Apis::Core::Hashable
|
334
373
|
|
335
|
-
# Required. Name of the environment variable. Must
|
336
|
-
# not exceed 32768 characters.
|
374
|
+
# Required. Name of the environment variable. Must not exceed 32768 characters.
|
337
375
|
# Corresponds to the JSON property `name`
|
338
376
|
# @return [String]
|
339
377
|
attr_accessor :name
|
@@ -1158,6 +1196,40 @@ module Google
|
|
1158
1196
|
end
|
1159
1197
|
end
|
1160
1198
|
|
1199
|
+
# RunJob Overrides that contains Execution fields to be overridden.
|
1200
|
+
class GoogleCloudRunV2Overrides
|
1201
|
+
include Google::Apis::Core::Hashable
|
1202
|
+
|
1203
|
+
# Per container override specification.
|
1204
|
+
# Corresponds to the JSON property `containerOverrides`
|
1205
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride>]
|
1206
|
+
attr_accessor :container_overrides
|
1207
|
+
|
1208
|
+
# Optional. The desired number of tasks the execution should run. Will replace
|
1209
|
+
# existing task_count value.
|
1210
|
+
# Corresponds to the JSON property `taskCount`
|
1211
|
+
# @return [Fixnum]
|
1212
|
+
attr_accessor :task_count
|
1213
|
+
|
1214
|
+
# Duration in seconds the task may be active before the system will actively try
|
1215
|
+
# to mark it failed and kill associated containers. Will replace existing
|
1216
|
+
# timeout_seconds value.
|
1217
|
+
# Corresponds to the JSON property `timeout`
|
1218
|
+
# @return [String]
|
1219
|
+
attr_accessor :timeout
|
1220
|
+
|
1221
|
+
def initialize(**args)
|
1222
|
+
update!(**args)
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# Update properties of this object
|
1226
|
+
def update!(**args)
|
1227
|
+
@container_overrides = args[:container_overrides] if args.key?(:container_overrides)
|
1228
|
+
@task_count = args[:task_count] if args.key?(:task_count)
|
1229
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
|
1161
1233
|
# Probe describes a health check to be performed against a container to
|
1162
1234
|
# determine whether it is alive or ready to receive traffic.
|
1163
1235
|
class GoogleCloudRunV2Probe
|
@@ -1631,6 +1703,11 @@ module Google
|
|
1631
1703
|
# @return [String]
|
1632
1704
|
attr_accessor :etag
|
1633
1705
|
|
1706
|
+
# RunJob Overrides that contains Execution fields to be overridden.
|
1707
|
+
# Corresponds to the JSON property `overrides`
|
1708
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Overrides]
|
1709
|
+
attr_accessor :overrides
|
1710
|
+
|
1634
1711
|
# Indicates that the request should be validated without actually deleting any
|
1635
1712
|
# resources.
|
1636
1713
|
# Corresponds to the JSON property `validateOnly`
|
@@ -1645,6 +1722,7 @@ module Google
|
|
1645
1722
|
# Update properties of this object
|
1646
1723
|
def update!(**args)
|
1647
1724
|
@etag = args[:etag] if args.key?(:etag)
|
1725
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
1648
1726
|
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1649
1727
|
end
|
1650
1728
|
end
|
@@ -1938,13 +2016,6 @@ module Google
|
|
1938
2016
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus>]
|
1939
2017
|
attr_accessor :traffic_statuses
|
1940
2018
|
|
1941
|
-
# Optional. Override the traffic tag threshold limit. Garbage collection will
|
1942
|
-
# start cleaning up non-serving tagged traffic targets based on creation item.
|
1943
|
-
# The default value is 2000.
|
1944
|
-
# Corresponds to the JSON property `trafficTagsCleanupThreshold`
|
1945
|
-
# @return [Fixnum]
|
1946
|
-
attr_accessor :traffic_tags_cleanup_threshold
|
1947
|
-
|
1948
2019
|
# Output only. Server assigned unique identifier for the trigger. The value is a
|
1949
2020
|
# UUID4 string and guaranteed to remain unchanged until the resource is deleted.
|
1950
2021
|
# Corresponds to the JSON property `uid`
|
@@ -1994,7 +2065,6 @@ module Google
|
|
1994
2065
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
1995
2066
|
@traffic = args[:traffic] if args.key?(:traffic)
|
1996
2067
|
@traffic_statuses = args[:traffic_statuses] if args.key?(:traffic_statuses)
|
1997
|
-
@traffic_tags_cleanup_threshold = args[:traffic_tags_cleanup_threshold] if args.key?(:traffic_tags_cleanup_threshold)
|
1998
2068
|
@uid = args[:uid] if args.key?(:uid)
|
1999
2069
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2000
2070
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231001"
|
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 GoogleCloudRunV2ContainerOverride
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class GoogleCloudRunV2ContainerPort
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class GoogleCloudRunV2Overrides
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class GoogleCloudRunV2Probe
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -407,6 +419,17 @@ module Google
|
|
407
419
|
end
|
408
420
|
end
|
409
421
|
|
422
|
+
class GoogleCloudRunV2ContainerOverride
|
423
|
+
# @private
|
424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
+
collection :args, as: 'args'
|
426
|
+
property :clear_args, as: 'clearArgs'
|
427
|
+
collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
|
428
|
+
|
429
|
+
property :name, as: 'name'
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
410
433
|
class GoogleCloudRunV2ContainerPort
|
411
434
|
# @private
|
412
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -612,6 +635,16 @@ module Google
|
|
612
635
|
end
|
613
636
|
end
|
614
637
|
|
638
|
+
class GoogleCloudRunV2Overrides
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
collection :container_overrides, as: 'containerOverrides', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride::Representation
|
642
|
+
|
643
|
+
property :task_count, as: 'taskCount'
|
644
|
+
property :timeout, as: 'timeout'
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
615
648
|
class GoogleCloudRunV2Probe
|
616
649
|
# @private
|
617
650
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -712,6 +745,8 @@ module Google
|
|
712
745
|
# @private
|
713
746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
714
747
|
property :etag, as: 'etag'
|
748
|
+
property :overrides, as: 'overrides', class: Google::Apis::RunV2::GoogleCloudRunV2Overrides, decorator: Google::Apis::RunV2::GoogleCloudRunV2Overrides::Representation
|
749
|
+
|
715
750
|
property :validate_only, as: 'validateOnly'
|
716
751
|
end
|
717
752
|
end
|
@@ -770,7 +805,6 @@ module Google
|
|
770
805
|
|
771
806
|
collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
|
772
807
|
|
773
|
-
property :traffic_tags_cleanup_threshold, :numeric_string => true, as: 'trafficTagsCleanupThreshold'
|
774
808
|
property :uid, as: 'uid'
|
775
809
|
property :update_time, as: 'updateTime'
|
776
810
|
property :uri, as: 'uri'
|
@@ -402,9 +402,9 @@ module Google
|
|
402
402
|
|
403
403
|
# Cancels an Execution.
|
404
404
|
# @param [String] name
|
405
|
-
# Required. The name of the Execution to cancel. Format: projects/`project`/
|
406
|
-
# locations/`location`/jobs/`job`/executions/`execution
|
407
|
-
# project id or number.
|
405
|
+
# Required. The name of the Execution to cancel. Format: `projects/`project`/
|
406
|
+
# locations/`location`/jobs/`job`/executions/`execution``, where ``project`` can
|
407
|
+
# be project id or number.
|
408
408
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2CancelExecutionRequest] google_cloud_run_v2_cancel_execution_request_object
|
409
409
|
# @param [String] fields
|
410
410
|
# Selector specifying which fields to include in a partial response.
|
@@ -437,9 +437,9 @@ module Google
|
|
437
437
|
|
438
438
|
# Deletes an Execution.
|
439
439
|
# @param [String] name
|
440
|
-
# Required. The name of the Execution to delete. Format: projects/`project`/
|
441
|
-
# locations/`location`/jobs/`job`/executions/`execution
|
442
|
-
# project id or number.
|
440
|
+
# Required. The name of the Execution to delete. Format: `projects/`project`/
|
441
|
+
# locations/`location`/jobs/`job`/executions/`execution``, where ``project`` can
|
442
|
+
# be project id or number.
|
443
443
|
# @param [String] etag
|
444
444
|
# A system-generated fingerprint for this version of the resource. This may be
|
445
445
|
# used to detect modification conflict during updates.
|
@@ -477,9 +477,9 @@ module Google
|
|
477
477
|
|
478
478
|
# Gets information about an Execution.
|
479
479
|
# @param [String] name
|
480
|
-
# Required. The full name of the Execution. Format: projects/`project`/
|
481
|
-
#
|
482
|
-
# id or number.
|
480
|
+
# Required. The full name of the Execution. Format: `projects/`project`/
|
481
|
+
# locations/`location`/jobs/`job`/executions/`execution``, where ``project`` can
|
482
|
+
# be project id or number.
|
483
483
|
# @param [String] fields
|
484
484
|
# Selector specifying which fields to include in a partial response.
|
485
485
|
# @param [String] quota_user
|
@@ -510,9 +510,9 @@ module Google
|
|
510
510
|
# Lists Executions from a Job.
|
511
511
|
# @param [String] parent
|
512
512
|
# Required. The Execution from which the Executions should be listed. To list
|
513
|
-
# all Executions across Jobs, use "-" instead of Job name. Format: projects/`
|
514
|
-
# project`/locations/`location`/jobs/`job
|
515
|
-
# number.
|
513
|
+
# all Executions across Jobs, use "-" instead of Job name. Format: `projects/`
|
514
|
+
# project`/locations/`location`/jobs/`job``, where ``project`` can be project id
|
515
|
+
# or number.
|
516
516
|
# @param [Fixnum] page_size
|
517
517
|
# Maximum number of Executions to return in this call.
|
518
518
|
# @param [String] page_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.50.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|