google-apis-run_v2 0.37.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: 9b9efcd8403690548cebf82ff079b0cb857d26c58afa85d2ef0eb0d7480a8ce5
4
- data.tar.gz: 2d927293d0de19de056a0f294b91709aebc0aa36c785823939281bd4b8283619
3
+ metadata.gz: 86e7d175c3530fd862ded0cc2e600466c90c43fc082f5d5359a5deb2f7b01a22
4
+ data.tar.gz: a92f03b5103dd9d6eb946b68203a94269ef18ff7415abdf381293e8fed10e6b9
5
5
  SHA512:
6
- metadata.gz: 8569f5aa7ced41a526ff26b7c1adbcce3e6c83ac671678f371efeb6118ad682179c5e6ca87a926cf3fbf1f8a803514ac0fa065c8d2c90ad1e9ddba2c7b1d66f1
7
- data.tar.gz: 290a1a6d76563beae00b75f284f0b5b4449ff74a5afe9057a9fce905a3839b554de02fa4f275215075910dc5622b32d1429dcf787154c375ba736fa6dbc7f3b5
6
+ metadata.gz: 595b266bc5f9d34e08c6688e71f5201ea5f2b2d363fb5200280a71edb1e7dd8635c96f3dd6d723185d1ede016261a34fab472884187e5ee03f2615b912f5c269
7
+ data.tar.gz: 7de0b65b8a98b6a9239df2b6d10a5d449b3cb8a0ba4b35df9a9de9838c4d7210d66bbdf9e5e229be10216d9546ad200324f1a3e14378ddbe1641b996bb7fab10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.38.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230423
10
+
3
11
  ### v0.37.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230416
@@ -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
@@ -322,7 +365,9 @@ module Google
322
365
  class GoogleCloudRunV2Execution
323
366
  include Google::Apis::Core::Hashable
324
367
 
325
- # KRM-style annotations for the resource.
368
+ # Output only. Unstructured key value map that may be set by external tools to
369
+ # store and arbitrary metadata. They are not queryable and should be preserved
370
+ # when modifying objects.
326
371
  # Corresponds to the JSON property `annotations`
327
372
  # @return [Hash<String,String>]
328
373
  attr_accessor :annotations
@@ -385,11 +430,12 @@ module Google
385
430
  # @return [String]
386
431
  attr_accessor :job
387
432
 
388
- # KRM-style labels for the resource. User-provided labels are shared with Google'
389
- # s billing system, so they can be used to filter, or break down billing charges
390
- # by team, component, environment, state, etc. For more information, visit https:
391
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
392
- # cloud.google.com/run/docs/configuring/labels
433
+ # Output only. Unstructured key value map that can be used to organize and
434
+ # categorize objects. User-provided labels are shared with Google's billing
435
+ # system, so they can be used to filter, or break down billing charges by team,
436
+ # component, environment, state, etc. For more information, visit https://cloud.
437
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
438
+ # google.com/run/docs/configuring/labels
393
439
  # Corresponds to the JSON property `labels`
394
440
  # @return [Hash<String,String>]
395
441
  attr_accessor :labels
@@ -562,17 +608,24 @@ module Google
562
608
  class GoogleCloudRunV2ExecutionTemplate
563
609
  include Google::Apis::Core::Hashable
564
610
 
565
- # KRM-style annotations for the resource. Cloud Run API v2 does not support
566
- # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
567
- # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
568
- # rejected. All system annotations in v1 now have a corresponding field in v2
569
- # ExecutionTemplate.
611
+ # Unstructured key value map that may be set by external tools to store and
612
+ # arbitrary metadata. They are not queryable and should be preserved when
613
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
614
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
615
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
616
+ # annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This
617
+ # field follows Kubernetes annotations' namespacing, limits, and rules.
570
618
  # Corresponds to the JSON property `annotations`
571
619
  # @return [Hash<String,String>]
572
620
  attr_accessor :annotations
573
621
 
574
- # KRM-style labels for the resource. Cloud Run API v2 does not support labels
575
- # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
622
+ # Unstructured key value map that can be used to organize and categorize objects.
623
+ # User-provided labels are shared with Google's billing system, so they can be
624
+ # used to filter, or break down billing charges by team, component, environment,
625
+ # state, etc. For more information, visit https://cloud.google.com/resource-
626
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
627
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
628
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
576
629
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
577
630
  # labels in v1 now have a corresponding field in v2 ExecutionTemplate.
578
631
  # Corresponds to the JSON property `labels`
@@ -708,14 +761,13 @@ module Google
708
761
  class GoogleCloudRunV2Job
709
762
  include Google::Apis::Core::Hashable
710
763
 
711
- # KRM-style annotations for the resource. Unstructured key value map that may be
712
- # set by external tools to store and arbitrary metadata. They are not queryable
713
- # and should be preserved when modifying objects. Cloud Run API v2 does not
714
- # support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `
715
- # serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will
716
- # be rejected on new resources. All system annotations in v1 now have a
717
- # corresponding field in v2 Job. This field follows Kubernetes annotations'
718
- # namespacing, limits, and rules.
764
+ # Unstructured key value map that may be set by external tools to store and
765
+ # arbitrary metadata. They are not queryable and should be preserved when
766
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
767
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
768
+ # autoscaling.knative.dev` namespaces, and they will be rejected on new
769
+ # resources. All system annotations in v1 now have a corresponding field in v2
770
+ # Job. This field follows Kubernetes annotations' namespacing, limits, and rules.
719
771
  # Corresponds to the JSON property `annotations`
720
772
  # @return [Hash<String,String>]
721
773
  attr_accessor :annotations
@@ -781,14 +833,15 @@ module Google
781
833
  # @return [Fixnum]
782
834
  attr_accessor :generation
783
835
 
784
- # KRM-style labels for the resource. User-provided labels are shared with Google'
785
- # s billing system, so they can be used to filter, or break down billing charges
786
- # by team, component, environment, state, etc. For more information, visit https:
787
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
788
- # cloud.google.com/run/docs/configuring/labels Cloud Run API v2 does not support
789
- # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
790
- # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
791
- # system labels in v1 now have a corresponding field in v2 Job.
836
+ # Unstructured key value map that can be used to organize and categorize objects.
837
+ # User-provided labels are shared with Google's billing system, so they can be
838
+ # used to filter, or break down billing charges by team, component, environment,
839
+ # state, etc. For more information, visit https://cloud.google.com/resource-
840
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
841
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
842
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
843
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
844
+ # labels in v1 now have a corresponding field in v2 Job.
792
845
  # Corresponds to the JSON property `labels`
793
846
  # @return [Hash<String,String>]
794
847
  attr_accessor :labels
@@ -1147,7 +1200,9 @@ module Google
1147
1200
  class GoogleCloudRunV2Revision
1148
1201
  include Google::Apis::Core::Hashable
1149
1202
 
1150
- # KRM-style annotations for the resource.
1203
+ # Output only. Unstructured key value map that may be set by external tools to
1204
+ # store and arbitrary metadata. They are not queryable and should be preserved
1205
+ # when modifying objects.
1151
1206
  # Corresponds to the JSON property `annotations`
1152
1207
  # @return [Hash<String,String>]
1153
1208
  attr_accessor :annotations
@@ -1216,11 +1271,12 @@ module Google
1216
1271
  # @return [Fixnum]
1217
1272
  attr_accessor :generation
1218
1273
 
1219
- # KRM-style labels for the resource. User-provided labels are shared with Google'
1220
- # s billing system, so they can be used to filter, or break down billing charges
1221
- # by team, component, environment, state, etc. For more information, visit https:
1222
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1223
- # cloud.google.com/run/docs/configuring/labels
1274
+ # Output only. Unstructured key value map that can be used to organize and
1275
+ # categorize objects. User-provided labels are shared with Google's billing
1276
+ # system, so they can be used to filter, or break down billing charges by team,
1277
+ # component, environment, state, etc. For more information, visit https://cloud.
1278
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
1279
+ # google.com/run/docs/configuring/labels.
1224
1280
  # Corresponds to the JSON property `labels`
1225
1281
  # @return [Hash<String,String>]
1226
1282
  attr_accessor :labels
@@ -1288,6 +1344,12 @@ module Google
1288
1344
  # @return [String]
1289
1345
  attr_accessor :service_account
1290
1346
 
1347
+ # Enable session affinity.
1348
+ # Corresponds to the JSON property `sessionAffinity`
1349
+ # @return [Boolean]
1350
+ attr_accessor :session_affinity
1351
+ alias_method :session_affinity?, :session_affinity
1352
+
1291
1353
  # Max allowed time for an instance to respond to a request.
1292
1354
  # Corresponds to the JSON property `timeout`
1293
1355
  # @return [String]
@@ -1347,6 +1409,7 @@ module Google
1347
1409
  @scaling = args[:scaling] if args.key?(:scaling)
1348
1410
  @service = args[:service] if args.key?(:service)
1349
1411
  @service_account = args[:service_account] if args.key?(:service_account)
1412
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1350
1413
  @timeout = args[:timeout] if args.key?(:timeout)
1351
1414
  @uid = args[:uid] if args.key?(:uid)
1352
1415
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1385,11 +1448,13 @@ module Google
1385
1448
  class GoogleCloudRunV2RevisionTemplate
1386
1449
  include Google::Apis::Core::Hashable
1387
1450
 
1388
- # KRM-style annotations for the resource. Cloud Run API v2 does not support
1389
- # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
1390
- # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
1391
- # rejected. All system annotations in v1 now have a corresponding field in v2
1392
- # RevisionTemplate.
1451
+ # Unstructured key value map that may be set by external tools to store and
1452
+ # arbitrary metadata. They are not queryable and should be preserved when
1453
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
1454
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1455
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1456
+ # annotations in v1 now have a corresponding field in v2 RevisionTemplate. This
1457
+ # field follows Kubernetes annotations' namespacing, limits, and rules.
1393
1458
  # Corresponds to the JSON property `annotations`
1394
1459
  # @return [Hash<String,String>]
1395
1460
  attr_accessor :annotations
@@ -1412,8 +1477,13 @@ module Google
1412
1477
  # @return [String]
1413
1478
  attr_accessor :execution_environment
1414
1479
 
1415
- # KRM-style labels for the resource. Cloud Run API v2 does not support labels
1416
- # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1480
+ # Unstructured key value map that can be used to organize and categorize objects.
1481
+ # User-provided labels are shared with Google's billing system, so they can be
1482
+ # used to filter, or break down billing charges by team, component, environment,
1483
+ # state, etc. For more information, visit https://cloud.google.com/resource-
1484
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1485
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
1486
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1417
1487
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1418
1488
  # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1419
1489
  # Corresponds to the JSON property `labels`
@@ -1444,6 +1514,12 @@ module Google
1444
1514
  # @return [String]
1445
1515
  attr_accessor :service_account
1446
1516
 
1517
+ # Enable session affinity.
1518
+ # Corresponds to the JSON property `sessionAffinity`
1519
+ # @return [Boolean]
1520
+ attr_accessor :session_affinity
1521
+ alias_method :session_affinity?, :session_affinity
1522
+
1447
1523
  # Max allowed time for an instance to respond to a request.
1448
1524
  # Corresponds to the JSON property `timeout`
1449
1525
  # @return [String]
@@ -1477,6 +1553,7 @@ module Google
1477
1553
  @revision = args[:revision] if args.key?(:revision)
1478
1554
  @scaling = args[:scaling] if args.key?(:scaling)
1479
1555
  @service_account = args[:service_account] if args.key?(:service_account)
1556
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1480
1557
  @timeout = args[:timeout] if args.key?(:timeout)
1481
1558
  @volumes = args[:volumes] if args.key?(:volumes)
1482
1559
  @vpc_access = args[:vpc_access] if args.key?(:vpc_access)
@@ -1680,12 +1757,12 @@ module Google
1680
1757
  # @return [String]
1681
1758
  attr_accessor :ingress
1682
1759
 
1683
- # Map of string keys and values that can be used to organize and categorize
1684
- # objects. User-provided labels are shared with Google's billing system, so they
1685
- # can be used to filter, or break down billing charges by team, component,
1686
- # environment, state, etc. For more information, visit https://cloud.google.com/
1687
- # resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/
1688
- # docs/configuring/labels Cloud Run API v2 does not support labels with `run.
1760
+ # Unstructured key value map that can be used to organize and categorize objects.
1761
+ # User-provided labels are shared with Google's billing system, so they can be
1762
+ # used to filter, or break down billing charges by team, component, environment,
1763
+ # state, etc. For more information, visit https://cloud.google.com/resource-
1764
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1765
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
1689
1766
  # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1690
1767
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1691
1768
  # labels in v1 now have a corresponding field in v2 Service.
@@ -1871,7 +1948,9 @@ module Google
1871
1948
  class GoogleCloudRunV2Task
1872
1949
  include Google::Apis::Core::Hashable
1873
1950
 
1874
- # KRM-style annotations for the resource.
1951
+ # Output only. Unstructured key value map that may be set by external tools to
1952
+ # store and arbitrary metadata. They are not queryable and should be preserved
1953
+ # when modifying objects.
1875
1954
  # Corresponds to the JSON property `annotations`
1876
1955
  # @return [Hash<String,String>]
1877
1956
  attr_accessor :annotations
@@ -1951,11 +2030,12 @@ module Google
1951
2030
  # @return [String]
1952
2031
  attr_accessor :job
1953
2032
 
1954
- # KRM-style labels for the resource. User-provided labels are shared with Google'
1955
- # s billing system, so they can be used to filter, or break down billing charges
1956
- # by team, component, environment, state, etc. For more information, visit https:
1957
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1958
- # cloud.google.com/run/docs/configuring/labels
2033
+ # Output only. Unstructured key value map that can be used to organize and
2034
+ # categorize objects. User-provided labels are shared with Google's billing
2035
+ # system, so they can be used to filter, or break down billing charges by team,
2036
+ # component, environment, state, etc. For more information, visit https://cloud.
2037
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
2038
+ # google.com/run/docs/configuring/labels
1959
2039
  # Corresponds to the JSON property `labels`
1960
2040
  # @return [Hash<String,String>]
1961
2041
  attr_accessor :labels
@@ -2332,6 +2412,14 @@ module Google
2332
2412
  # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
2333
2413
  attr_accessor :cloud_sql_instance
2334
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
+
2335
2423
  # Required. Volume's name.
2336
2424
  # Corresponds to the JSON property `name`
2337
2425
  # @return [String]
@@ -2351,6 +2439,7 @@ module Google
2351
2439
  # Update properties of this object
2352
2440
  def update!(**args)
2353
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)
2354
2443
  @name = args[:name] if args.key?(:name)
2355
2444
  @secret = args[:secret] if args.key?(:secret)
2356
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.37.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 = "20230416"
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
@@ -622,6 +637,7 @@ module Google
622
637
 
623
638
  property :service, as: 'service'
624
639
  property :service_account, as: 'serviceAccount'
640
+ property :session_affinity, as: 'sessionAffinity'
625
641
  property :timeout, as: 'timeout'
626
642
  property :uid, as: 'uid'
627
643
  property :update_time, as: 'updateTime'
@@ -654,6 +670,7 @@ module Google
654
670
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
655
671
 
656
672
  property :service_account, as: 'serviceAccount'
673
+ property :session_affinity, as: 'sessionAffinity'
657
674
  property :timeout, as: 'timeout'
658
675
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
659
676
 
@@ -838,6 +855,8 @@ module Google
838
855
  class Representation < Google::Apis::Core::JsonRepresentation
839
856
  property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance::Representation
840
857
 
858
+ property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource::Representation
859
+
841
860
  property :name, as: 'name'
842
861
  property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
843
862
 
@@ -949,8 +949,9 @@ module Google
949
949
  # location`/services/`service_id`
950
950
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
951
951
  # @param [Boolean] allow_missing
952
- # This field is currently not used by Cloud Run; setting it does not have any
953
- # effect.
952
+ # If set to true, and if the Service does not exist, it will create a new one.
953
+ # The caller must have 'run.services.create' permissions if this is set to true
954
+ # and the Service does not exist.
954
955
  # @param [Boolean] validate_only
955
956
  # Indicates that the request should be validated and default values populated,
956
957
  # without persisting the request or updating any resources.
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.37.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-23 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.37.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: []