google-apis-run_v1 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78ff9780040ff12c5b8c7a2972e181fb69c5329033992faf5948b6091b48ebec
4
- data.tar.gz: 5ba14425c28879b0e60f2b743861d27a4d59ef6e5ffd04fac18257d3e5d3fb21
3
+ metadata.gz: 5e10b5e737291cfff65bbd1f80643e93d1a4e156967f6186291ee9173feaf396
4
+ data.tar.gz: 4a82e2a8dcaf3083f6db757bf5fdfec79ec040ec4bd0abdf7bf842e3b92e4b2e
5
5
  SHA512:
6
- metadata.gz: d48af2172f1e62aa6d1118c93fd2c59c25aaf3e650b9f46ddc504e5b835d3e59870eb02da8c050fefd62cb4c9c09930aa936fb9ca320070f59e77e69ffb17e97
7
- data.tar.gz: 84ee09089f4b0c7b381c4cc79e958f6e8982507e49208a2147682b9a95eea3d59abe6962d130ae5fec9b777df7dd52383ce37c7f415f55829367db90de796402
6
+ metadata.gz: d1b0796639397eb877ece4297042d4a887ee86b3b1e8eb663b84a25b76b015cf3ed9b633cc9a49142c3dd11a6c73a23742fbbbf0fd9a5b65f7d753b099e47473
7
+ data.tar.gz: 297dd7c965c41db445f9972630c25206077085d76c5702b9f0d26c65e04a516ec61d05f02c335ebff94a813b000c1ae68bb675bdc1c3ca58617d35a1ce3a7b42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.49.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230409
6
+
3
7
  ### v0.48.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230305
@@ -629,6 +629,38 @@ module Google
629
629
  end
630
630
  end
631
631
 
632
+ # Per container override specification.
633
+ class ContainerOverride
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # Arguments to the entrypoint. Will replace existing args for override.
637
+ # Corresponds to the JSON property `args`
638
+ # @return [Array<String>]
639
+ attr_accessor :args
640
+
641
+ # List of environment variables to set in the container. Will be merged with
642
+ # existing env for override.
643
+ # Corresponds to the JSON property `env`
644
+ # @return [Array<Google::Apis::RunV1::EnvVar>]
645
+ attr_accessor :env
646
+
647
+ # The name of the container specified as a DNS_LABEL.
648
+ # Corresponds to the JSON property `name`
649
+ # @return [String]
650
+ attr_accessor :name
651
+
652
+ def initialize(**args)
653
+ update!(**args)
654
+ end
655
+
656
+ # Update properties of this object
657
+ def update!(**args)
658
+ @args = args[:args] if args.key?(:args)
659
+ @env = args[:env] if args.key?(:env)
660
+ @name = args[:name] if args.key?(:name)
661
+ end
662
+ end
663
+
632
664
  # ContainerPort represents a network port in a single container.
633
665
  class ContainerPort
634
666
  include Google::Apis::Core::Hashable
@@ -2073,19 +2105,20 @@ module Google
2073
2105
  # Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
2074
2106
  # Execution. * `run.googleapis.com/client-name`: All resources. * `run.
2075
2107
  # googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
2076
- # cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. *
2077
- # `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-
2078
- # key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision,
2079
- # Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. *
2080
- # `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`:
2081
- # Service. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `
2082
- # run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.
2083
- # googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
2084
- # session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `
2085
- # run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-
2086
- # access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-
2087
- # egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/
2088
- # user-guide/annotations
2108
+ # container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`:
2109
+ # Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.
2110
+ # com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`
2111
+ # : Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.
2112
+ # googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.
2113
+ # com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.
2114
+ # googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-
2115
+ # interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-
2116
+ # action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. *
2117
+ # `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/
2118
+ # sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision.
2119
+ # * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.
2120
+ # googleapis.com/vpc-access-egress`: Revision, Execution. Execution. More info:
2121
+ # https://kubernetes.io/docs/user-guide/annotations
2089
2122
  # Corresponds to the JSON property `annotations`
2090
2123
  # @return [Hash<String,String>]
2091
2124
  attr_accessor :annotations
@@ -2202,6 +2235,40 @@ module Google
2202
2235
  end
2203
2236
  end
2204
2237
 
2238
+ # RunJob Overrides that contains Execution fields to be overridden on the go.
2239
+ class Overrides
2240
+ include Google::Apis::Core::Hashable
2241
+
2242
+ # Per container override specification.
2243
+ # Corresponds to the JSON property `containerOverrides`
2244
+ # @return [Array<Google::Apis::RunV1::ContainerOverride>]
2245
+ attr_accessor :container_overrides
2246
+
2247
+ # The desired number of tasks the execution should run. Will replace existing
2248
+ # task_count value.
2249
+ # Corresponds to the JSON property `taskCount`
2250
+ # @return [Fixnum]
2251
+ attr_accessor :task_count
2252
+
2253
+ # Duration in seconds the task may be active before the system will actively try
2254
+ # to mark it failed and kill associated containers. Will replace existing
2255
+ # timeout_seconds value.
2256
+ # Corresponds to the JSON property `timeoutSeconds`
2257
+ # @return [Fixnum]
2258
+ attr_accessor :timeout_seconds
2259
+
2260
+ def initialize(**args)
2261
+ update!(**args)
2262
+ end
2263
+
2264
+ # Update properties of this object
2265
+ def update!(**args)
2266
+ @container_overrides = args[:container_overrides] if args.key?(:container_overrides)
2267
+ @task_count = args[:task_count] if args.key?(:task_count)
2268
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2269
+ end
2270
+ end
2271
+
2205
2272
  # This is not supported or used by Cloud Run.
2206
2273
  class OwnerReference
2207
2274
  include Google::Apis::Core::Hashable
@@ -2823,12 +2890,18 @@ module Google
2823
2890
  class RunJobRequest
2824
2891
  include Google::Apis::Core::Hashable
2825
2892
 
2893
+ # RunJob Overrides that contains Execution fields to be overridden on the go.
2894
+ # Corresponds to the JSON property `overrides`
2895
+ # @return [Google::Apis::RunV1::Overrides]
2896
+ attr_accessor :overrides
2897
+
2826
2898
  def initialize(**args)
2827
2899
  update!(**args)
2828
2900
  end
2829
2901
 
2830
2902
  # Update properties of this object
2831
2903
  def update!(**args)
2904
+ @overrides = args[:overrides] if args.key?(:overrides)
2832
2905
  end
2833
2906
  end
2834
2907
 
@@ -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.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 = "20230305"
25
+ REVISION = "20230409"
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 ContainerOverride
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class ContainerPort
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -322,6 +328,12 @@ module Google
322
328
  include Google::Apis::Core::JsonObjectSupport
323
329
  end
324
330
 
331
+ class Overrides
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class OwnerReference
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -677,6 +689,16 @@ module Google
677
689
  end
678
690
  end
679
691
 
692
+ class ContainerOverride
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ collection :args, as: 'args'
696
+ collection :env, as: 'env', class: Google::Apis::RunV1::EnvVar, decorator: Google::Apis::RunV1::EnvVar::Representation
697
+
698
+ property :name, as: 'name'
699
+ end
700
+ end
701
+
680
702
  class ContainerPort
681
703
  # @private
682
704
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1093,6 +1115,16 @@ module Google
1093
1115
  end
1094
1116
  end
1095
1117
 
1118
+ class Overrides
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ collection :container_overrides, as: 'containerOverrides', class: Google::Apis::RunV1::ContainerOverride, decorator: Google::Apis::RunV1::ContainerOverride::Representation
1122
+
1123
+ property :task_count, as: 'taskCount'
1124
+ property :timeout_seconds, as: 'timeoutSeconds'
1125
+ end
1126
+ end
1127
+
1096
1128
  class OwnerReference
1097
1129
  # @private
1098
1130
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1244,6 +1276,8 @@ module Google
1244
1276
  class RunJobRequest
1245
1277
  # @private
1246
1278
  class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :overrides, as: 'overrides', class: Google::Apis::RunV1::Overrides, decorator: Google::Apis::RunV1::Overrides::Representation
1280
+
1247
1281
  end
1248
1282
  end
1249
1283
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
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-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-16 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []