google-apis-run_v2 0.48.0 → 0.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f28405522d81346dba74952a8f86e0d29b6b15bdd198d083683348ca3949844
4
- data.tar.gz: 65216247816285d03b2a8ba98e6bbe6aec06c5f18641494676405dd8e5d0598a
3
+ metadata.gz: 769d00f0e7bc64597681875569588eca6fc43f3cbee72170fc8eb55fd1209029
4
+ data.tar.gz: b91f0fa0e70244dafb672b14e876462b89ea495183a6104603871663dec28406
5
5
  SHA512:
6
- metadata.gz: a88c19b545c36b8b15113ce9e812ff13571e2d76cee1a544bdadf929744d427c93f3f39817082941989922535c7aa79664b70ece7c5daf22047ca54848eecfea
7
- data.tar.gz: 634e9760425c9fdb1fa0b32745662f8f31b7de98f50bd78bee039017039096e3d6eb74c0de8913ed04dea6452af4b5a923c0d174959d016d06ded1fc6c241755
6
+ metadata.gz: a2af93453f11002a0c3b699784fb9c8d4b0cac31dcbd8e1c156631f30f6d5fc86038c03da07e532f11fc5bfedf419cb834f788113c1a507c68020b1d0536f4a7
7
+ data.tar.gz: 66598e83c1b10a732a365f60d5015fc02436bdfc69b878d7c0ff97d707a1ea981e98fa561cbab86b34cc7e4f8c78ef1972c9d84b62a8e07eaeccfb7ca4f0fbc5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.49.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230924
6
+
3
7
  ### v0.48.0 (2023-09-24)
4
8
 
5
9
  * 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
@@ -1158,6 +1197,40 @@ module Google
1158
1197
  end
1159
1198
  end
1160
1199
 
1200
+ # RunJob Overrides that contains Execution fields to be overridden.
1201
+ class GoogleCloudRunV2Overrides
1202
+ include Google::Apis::Core::Hashable
1203
+
1204
+ # Per container override specification.
1205
+ # Corresponds to the JSON property `containerOverrides`
1206
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride>]
1207
+ attr_accessor :container_overrides
1208
+
1209
+ # Optional. The desired number of tasks the execution should run. Will replace
1210
+ # existing task_count value.
1211
+ # Corresponds to the JSON property `taskCount`
1212
+ # @return [Fixnum]
1213
+ attr_accessor :task_count
1214
+
1215
+ # Duration in seconds the task may be active before the system will actively try
1216
+ # to mark it failed and kill associated containers. Will replace existing
1217
+ # timeout_seconds value.
1218
+ # Corresponds to the JSON property `timeout`
1219
+ # @return [String]
1220
+ attr_accessor :timeout
1221
+
1222
+ def initialize(**args)
1223
+ update!(**args)
1224
+ end
1225
+
1226
+ # Update properties of this object
1227
+ def update!(**args)
1228
+ @container_overrides = args[:container_overrides] if args.key?(:container_overrides)
1229
+ @task_count = args[:task_count] if args.key?(:task_count)
1230
+ @timeout = args[:timeout] if args.key?(:timeout)
1231
+ end
1232
+ end
1233
+
1161
1234
  # Probe describes a health check to be performed against a container to
1162
1235
  # determine whether it is alive or ready to receive traffic.
1163
1236
  class GoogleCloudRunV2Probe
@@ -1631,6 +1704,11 @@ module Google
1631
1704
  # @return [String]
1632
1705
  attr_accessor :etag
1633
1706
 
1707
+ # RunJob Overrides that contains Execution fields to be overridden.
1708
+ # Corresponds to the JSON property `overrides`
1709
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Overrides]
1710
+ attr_accessor :overrides
1711
+
1634
1712
  # Indicates that the request should be validated without actually deleting any
1635
1713
  # resources.
1636
1714
  # Corresponds to the JSON property `validateOnly`
@@ -1645,6 +1723,7 @@ module Google
1645
1723
  # Update properties of this object
1646
1724
  def update!(**args)
1647
1725
  @etag = args[:etag] if args.key?(:etag)
1726
+ @overrides = args[:overrides] if args.key?(:overrides)
1648
1727
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1649
1728
  end
1650
1729
  end
@@ -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.48.0"
19
+ GEM_VERSION = "0.49.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 = "20230917"
25
+ REVISION = "20230924"
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
@@ -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`, where `project` can be
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`, where `project` can be
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`/locations/
481
- # `location`/jobs/`job`/executions/`execution`, where `project` can be project
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`, where `project` can be project id or
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.48.0
4
+ version: 0.49.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-01 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.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.49.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: []