google-apis-run_v2 0.38.0 → 0.40.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: c91c5350166b91ec751198f144fef862338ac4c020d766ffd67d21fdb84b2a3c
4
- data.tar.gz: 598711c17d0cfcff69fba4c7a781b0b1c80991b90adf014c5fe3fd29a073f757
3
+ metadata.gz: bcf374827a48169ee284b4668937df77f3987cfc66369f4f7dcc2fc486519ac2
4
+ data.tar.gz: 52cd8c2364ab89e49759f268bb91ac8a44d1c83f11601a79b769d45d49ee5fe3
5
5
  SHA512:
6
- metadata.gz: 0e2c466daf4e805b97922314ea07106038f34fa5b2a86a9ac0f2aa245705db6aaf19f301606407ca714aeca3ec836cb94505c72d72fda84d9b10a6f8b3b79a9e
7
- data.tar.gz: db2f5cd89ec8fa54566f94acd4e6f746cca090b306b2919b99797389eb2c3294c8fcae9ea10f7be0ec7ad4e579aa82cb16007e23230e512bc648b54981cb6b2f
6
+ metadata.gz: d686e9426d01f7f951b248e05919ef02a9130914311dd5a9ea63c680ee1028d08bc2a39cad87984a7dedeea464569e6a692559a2e3fa3bfda7eaab0834697dfc
7
+ data.tar.gz: 8ab4ed860993185c68c33a5de31c714ee00f33662beabeebdb4e9d6ee0a793d85a5cb76e7a420aaa8a06b1e69722dbfa32848d691cc4cf9bffffeb5a93ecc343
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.40.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230528
6
+
7
+ ### v0.39.0 (2023-05-07)
8
+
9
+ * Regenerated from discovery document revision 20230430
10
+
3
11
  ### v0.38.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230423
@@ -142,7 +142,7 @@ module Google
142
142
 
143
143
  # A single application container. This specifies both the container to run, the
144
144
  # command to run in the container and the arguments to supply to it. Note that
145
- # additional arguments may be supplied by the system to the container at runtime.
145
+ # additional arguments can be supplied by the system to the container at runtime.
146
146
  class GoogleCloudRunV2Container
147
147
  include Google::Apis::Core::Hashable
148
148
 
@@ -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,11 +265,48 @@ 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
265
308
 
266
- # Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay
309
+ # Required. Name of the environment variable. Must be a C_IDENTIFIER, and must
267
310
  # not exceed 32768 characters.
268
311
  # Corresponds to the JSON property `name`
269
312
  # @return [String]
@@ -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.40.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 = "20230528"
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.40.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-06-04 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.40.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: []