google-apis-run_v2 0.38.0 → 0.39.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: c91c5350166b91ec751198f144fef862338ac4c020d766ffd67d21fdb84b2a3c
4
- data.tar.gz: 598711c17d0cfcff69fba4c7a781b0b1c80991b90adf014c5fe3fd29a073f757
3
+ metadata.gz: 86e7d175c3530fd862ded0cc2e600466c90c43fc082f5d5359a5deb2f7b01a22
4
+ data.tar.gz: a92f03b5103dd9d6eb946b68203a94269ef18ff7415abdf381293e8fed10e6b9
5
5
  SHA512:
6
- metadata.gz: 0e2c466daf4e805b97922314ea07106038f34fa5b2a86a9ac0f2aa245705db6aaf19f301606407ca714aeca3ec836cb94505c72d72fda84d9b10a6f8b3b79a9e
7
- data.tar.gz: db2f5cd89ec8fa54566f94acd4e6f746cca090b306b2919b99797389eb2c3294c8fcae9ea10f7be0ec7ad4e579aa82cb16007e23230e512bc648b54981cb6b2f
6
+ metadata.gz: 595b266bc5f9d34e08c6688e71f5201ea5f2b2d363fb5200280a71edb1e7dd8635c96f3dd6d723185d1ede016261a34fab472884187e5ee03f2615b912f5c269
7
+ data.tar.gz: 7de0b65b8a98b6a9239df2b6d10a5d449b3cb8a0ba4b35df9a9de9838c4d7210d66bbdf9e5e229be10216d9546ad200324f1a3e14378ddbe1641b996bb7fab10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.39.0 (2023-05-07)
4
+
5
+ * Regenerated from discovery document revision 20230430
6
+
3
7
  ### v0.38.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230423
@@ -158,6 +158,11 @@ module Google
158
158
  # @return [Array<String>]
159
159
  attr_accessor :command
160
160
 
161
+ # Container names which must start before this container.
162
+ # Corresponds to the JSON property `dependsOn`
163
+ # @return [Array<String>]
164
+ attr_accessor :depends_on
165
+
161
166
  # List of environment variables to set in the container.
162
167
  # Corresponds to the JSON property `env`
163
168
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
@@ -220,6 +225,7 @@ module Google
220
225
  def update!(**args)
221
226
  @args = args[:args] if args.key?(:args)
222
227
  @command = args[:command] if args.key?(:command)
228
+ @depends_on = args[:depends_on] if args.key?(:depends_on)
223
229
  @env = args[:env] if args.key?(:env)
224
230
  @image = args[:image] if args.key?(:image)
225
231
  @liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
@@ -259,6 +265,43 @@ module Google
259
265
  end
260
266
  end
261
267
 
268
+ # Ephemeral storage which can be backed by real disks (HD, SSD), network storage
269
+ # or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is
270
+ # ephemeral in the sense that when the sandbox is taken down, the data is
271
+ # destroyed with it (it does not persist across sandbox runs).
272
+ class GoogleCloudRunV2EmptyDirVolumeSource
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # The medium on which the data is stored. Acceptable values today is only MEMORY
276
+ # or none. When none, the default will currently be backed by memory but could
277
+ # change over time. +optional
278
+ # Corresponds to the JSON property `medium`
279
+ # @return [String]
280
+ attr_accessor :medium
281
+
282
+ # Limit on the storage usable by this EmptyDir volume. The size limit is also
283
+ # applicable for memory medium. The maximum usage on memory medium EmptyDir
284
+ # would be the minimum value between the SizeLimit specified here and the sum of
285
+ # memory limits of all containers in a pod. This field's values are of the '
286
+ # Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-
287
+ # definitions/quantity/. The default is nil which means that the limit is
288
+ # undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +
289
+ # optional
290
+ # Corresponds to the JSON property `sizeLimit`
291
+ # @return [String]
292
+ attr_accessor :size_limit
293
+
294
+ def initialize(**args)
295
+ update!(**args)
296
+ end
297
+
298
+ # Update properties of this object
299
+ def update!(**args)
300
+ @medium = args[:medium] if args.key?(:medium)
301
+ @size_limit = args[:size_limit] if args.key?(:size_limit)
302
+ end
303
+ end
304
+
262
305
  # EnvVar represents an environment variable present in a Container.
263
306
  class GoogleCloudRunV2EnvVar
264
307
  include Google::Apis::Core::Hashable
@@ -2369,6 +2412,14 @@ module Google
2369
2412
  # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
2370
2413
  attr_accessor :cloud_sql_instance
2371
2414
 
2415
+ # Ephemeral storage which can be backed by real disks (HD, SSD), network storage
2416
+ # or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is
2417
+ # ephemeral in the sense that when the sandbox is taken down, the data is
2418
+ # destroyed with it (it does not persist across sandbox runs).
2419
+ # Corresponds to the JSON property `emptyDir`
2420
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource]
2421
+ attr_accessor :empty_dir
2422
+
2372
2423
  # Required. Volume's name.
2373
2424
  # Corresponds to the JSON property `name`
2374
2425
  # @return [String]
@@ -2388,6 +2439,7 @@ module Google
2388
2439
  # Update properties of this object
2389
2440
  def update!(**args)
2390
2441
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
2442
+ @empty_dir = args[:empty_dir] if args.key?(:empty_dir)
2391
2443
  @name = args[:name] if args.key?(:name)
2392
2444
  @secret = args[:secret] if args.key?(:secret)
2393
2445
  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.38.0"
19
+ GEM_VERSION = "0.39.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 = "20230423"
25
+ REVISION = "20230430"
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 GoogleCloudRunV2EmptyDirVolumeSource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudRunV2EnvVar
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -362,6 +368,7 @@ module Google
362
368
  class Representation < Google::Apis::Core::JsonRepresentation
363
369
  collection :args, as: 'args'
364
370
  collection :command, as: 'command'
371
+ collection :depends_on, as: 'dependsOn'
365
372
  collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
366
373
 
367
374
  property :image, as: 'image'
@@ -388,6 +395,14 @@ module Google
388
395
  end
389
396
  end
390
397
 
398
+ class GoogleCloudRunV2EmptyDirVolumeSource
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :medium, as: 'medium'
402
+ property :size_limit, as: 'sizeLimit'
403
+ end
404
+ end
405
+
391
406
  class GoogleCloudRunV2EnvVar
392
407
  # @private
393
408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -840,6 +855,8 @@ module Google
840
855
  class Representation < Google::Apis::Core::JsonRepresentation
841
856
  property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance::Representation
842
857
 
858
+ property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource::Representation
859
+
843
860
  property :name, as: 'name'
844
861
  property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
845
862
 
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.38.0
4
+ version: 0.39.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-30 00:00:00.000000000 Z
11
+ date: 2023-05-14 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.39.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: []