google-apis-run_v2 0.37.0 → 0.38.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: c91c5350166b91ec751198f144fef862338ac4c020d766ffd67d21fdb84b2a3c
4
+ data.tar.gz: 598711c17d0cfcff69fba4c7a781b0b1c80991b90adf014c5fe3fd29a073f757
5
5
  SHA512:
6
- metadata.gz: 8569f5aa7ced41a526ff26b7c1adbcce3e6c83ac671678f371efeb6118ad682179c5e6ca87a926cf3fbf1f8a803514ac0fa065c8d2c90ad1e9ddba2c7b1d66f1
7
- data.tar.gz: 290a1a6d76563beae00b75f284f0b5b4449ff74a5afe9057a9fce905a3839b554de02fa4f275215075910dc5622b32d1429dcf787154c375ba736fa6dbc7f3b5
6
+ metadata.gz: 0e2c466daf4e805b97922314ea07106038f34fa5b2a86a9ac0f2aa245705db6aaf19f301606407ca714aeca3ec836cb94505c72d72fda84d9b10a6f8b3b79a9e
7
+ data.tar.gz: db2f5cd89ec8fa54566f94acd4e6f746cca090b306b2919b99797389eb2c3294c8fcae9ea10f7be0ec7ad4e579aa82cb16007e23230e512bc648b54981cb6b2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.38.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230423
6
+
3
7
  ### v0.37.0 (2023-04-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230416
@@ -322,7 +322,9 @@ module Google
322
322
  class GoogleCloudRunV2Execution
323
323
  include Google::Apis::Core::Hashable
324
324
 
325
- # KRM-style annotations for the resource.
325
+ # Output only. Unstructured key value map that may be set by external tools to
326
+ # store and arbitrary metadata. They are not queryable and should be preserved
327
+ # when modifying objects.
326
328
  # Corresponds to the JSON property `annotations`
327
329
  # @return [Hash<String,String>]
328
330
  attr_accessor :annotations
@@ -385,11 +387,12 @@ module Google
385
387
  # @return [String]
386
388
  attr_accessor :job
387
389
 
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
390
+ # Output only. Unstructured key value map that can be used to organize and
391
+ # categorize objects. User-provided labels are shared with Google's billing
392
+ # system, so they can be used to filter, or break down billing charges by team,
393
+ # component, environment, state, etc. For more information, visit https://cloud.
394
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
395
+ # google.com/run/docs/configuring/labels
393
396
  # Corresponds to the JSON property `labels`
394
397
  # @return [Hash<String,String>]
395
398
  attr_accessor :labels
@@ -562,17 +565,24 @@ module Google
562
565
  class GoogleCloudRunV2ExecutionTemplate
563
566
  include Google::Apis::Core::Hashable
564
567
 
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.
568
+ # Unstructured key value map that may be set by external tools to store and
569
+ # arbitrary metadata. They are not queryable and should be preserved when
570
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
571
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
572
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
573
+ # annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This
574
+ # field follows Kubernetes annotations' namespacing, limits, and rules.
570
575
  # Corresponds to the JSON property `annotations`
571
576
  # @return [Hash<String,String>]
572
577
  attr_accessor :annotations
573
578
 
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 `
579
+ # Unstructured key value map that can be used to organize and categorize objects.
580
+ # User-provided labels are shared with Google's billing system, so they can be
581
+ # used to filter, or break down billing charges by team, component, environment,
582
+ # state, etc. For more information, visit https://cloud.google.com/resource-
583
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
584
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
585
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
576
586
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
577
587
  # labels in v1 now have a corresponding field in v2 ExecutionTemplate.
578
588
  # Corresponds to the JSON property `labels`
@@ -708,14 +718,13 @@ module Google
708
718
  class GoogleCloudRunV2Job
709
719
  include Google::Apis::Core::Hashable
710
720
 
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.
721
+ # Unstructured key value map that may be set by external tools to store and
722
+ # arbitrary metadata. They are not queryable and should be preserved when
723
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
724
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
725
+ # autoscaling.knative.dev` namespaces, and they will be rejected on new
726
+ # resources. All system annotations in v1 now have a corresponding field in v2
727
+ # Job. This field follows Kubernetes annotations' namespacing, limits, and rules.
719
728
  # Corresponds to the JSON property `annotations`
720
729
  # @return [Hash<String,String>]
721
730
  attr_accessor :annotations
@@ -781,14 +790,15 @@ module Google
781
790
  # @return [Fixnum]
782
791
  attr_accessor :generation
783
792
 
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.
793
+ # Unstructured key value map that can be used to organize and categorize objects.
794
+ # User-provided labels are shared with Google's billing system, so they can be
795
+ # used to filter, or break down billing charges by team, component, environment,
796
+ # state, etc. For more information, visit https://cloud.google.com/resource-
797
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
798
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
799
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
800
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
801
+ # labels in v1 now have a corresponding field in v2 Job.
792
802
  # Corresponds to the JSON property `labels`
793
803
  # @return [Hash<String,String>]
794
804
  attr_accessor :labels
@@ -1147,7 +1157,9 @@ module Google
1147
1157
  class GoogleCloudRunV2Revision
1148
1158
  include Google::Apis::Core::Hashable
1149
1159
 
1150
- # KRM-style annotations for the resource.
1160
+ # Output only. Unstructured key value map that may be set by external tools to
1161
+ # store and arbitrary metadata. They are not queryable and should be preserved
1162
+ # when modifying objects.
1151
1163
  # Corresponds to the JSON property `annotations`
1152
1164
  # @return [Hash<String,String>]
1153
1165
  attr_accessor :annotations
@@ -1216,11 +1228,12 @@ module Google
1216
1228
  # @return [Fixnum]
1217
1229
  attr_accessor :generation
1218
1230
 
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
1231
+ # Output only. Unstructured key value map that can be used to organize and
1232
+ # categorize objects. User-provided labels are shared with Google's billing
1233
+ # system, so they can be used to filter, or break down billing charges by team,
1234
+ # component, environment, state, etc. For more information, visit https://cloud.
1235
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
1236
+ # google.com/run/docs/configuring/labels.
1224
1237
  # Corresponds to the JSON property `labels`
1225
1238
  # @return [Hash<String,String>]
1226
1239
  attr_accessor :labels
@@ -1288,6 +1301,12 @@ module Google
1288
1301
  # @return [String]
1289
1302
  attr_accessor :service_account
1290
1303
 
1304
+ # Enable session affinity.
1305
+ # Corresponds to the JSON property `sessionAffinity`
1306
+ # @return [Boolean]
1307
+ attr_accessor :session_affinity
1308
+ alias_method :session_affinity?, :session_affinity
1309
+
1291
1310
  # Max allowed time for an instance to respond to a request.
1292
1311
  # Corresponds to the JSON property `timeout`
1293
1312
  # @return [String]
@@ -1347,6 +1366,7 @@ module Google
1347
1366
  @scaling = args[:scaling] if args.key?(:scaling)
1348
1367
  @service = args[:service] if args.key?(:service)
1349
1368
  @service_account = args[:service_account] if args.key?(:service_account)
1369
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1350
1370
  @timeout = args[:timeout] if args.key?(:timeout)
1351
1371
  @uid = args[:uid] if args.key?(:uid)
1352
1372
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1385,11 +1405,13 @@ module Google
1385
1405
  class GoogleCloudRunV2RevisionTemplate
1386
1406
  include Google::Apis::Core::Hashable
1387
1407
 
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.
1408
+ # Unstructured key value map that may be set by external tools to store and
1409
+ # arbitrary metadata. They are not queryable and should be preserved when
1410
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
1411
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1412
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1413
+ # annotations in v1 now have a corresponding field in v2 RevisionTemplate. This
1414
+ # field follows Kubernetes annotations' namespacing, limits, and rules.
1393
1415
  # Corresponds to the JSON property `annotations`
1394
1416
  # @return [Hash<String,String>]
1395
1417
  attr_accessor :annotations
@@ -1412,8 +1434,13 @@ module Google
1412
1434
  # @return [String]
1413
1435
  attr_accessor :execution_environment
1414
1436
 
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 `
1437
+ # Unstructured key value map that can be used to organize and categorize objects.
1438
+ # User-provided labels are shared with Google's billing system, so they can be
1439
+ # used to filter, or break down billing charges by team, component, environment,
1440
+ # state, etc. For more information, visit https://cloud.google.com/resource-
1441
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1442
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
1443
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1417
1444
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1418
1445
  # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1419
1446
  # Corresponds to the JSON property `labels`
@@ -1444,6 +1471,12 @@ module Google
1444
1471
  # @return [String]
1445
1472
  attr_accessor :service_account
1446
1473
 
1474
+ # Enable session affinity.
1475
+ # Corresponds to the JSON property `sessionAffinity`
1476
+ # @return [Boolean]
1477
+ attr_accessor :session_affinity
1478
+ alias_method :session_affinity?, :session_affinity
1479
+
1447
1480
  # Max allowed time for an instance to respond to a request.
1448
1481
  # Corresponds to the JSON property `timeout`
1449
1482
  # @return [String]
@@ -1477,6 +1510,7 @@ module Google
1477
1510
  @revision = args[:revision] if args.key?(:revision)
1478
1511
  @scaling = args[:scaling] if args.key?(:scaling)
1479
1512
  @service_account = args[:service_account] if args.key?(:service_account)
1513
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1480
1514
  @timeout = args[:timeout] if args.key?(:timeout)
1481
1515
  @volumes = args[:volumes] if args.key?(:volumes)
1482
1516
  @vpc_access = args[:vpc_access] if args.key?(:vpc_access)
@@ -1680,12 +1714,12 @@ module Google
1680
1714
  # @return [String]
1681
1715
  attr_accessor :ingress
1682
1716
 
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.
1717
+ # Unstructured key value map that can be used to organize and categorize objects.
1718
+ # User-provided labels are shared with Google's billing system, so they can be
1719
+ # used to filter, or break down billing charges by team, component, environment,
1720
+ # state, etc. For more information, visit https://cloud.google.com/resource-
1721
+ # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1722
+ # configuring/labels. Cloud Run API v2 does not support labels with `run.
1689
1723
  # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1690
1724
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1691
1725
  # labels in v1 now have a corresponding field in v2 Service.
@@ -1871,7 +1905,9 @@ module Google
1871
1905
  class GoogleCloudRunV2Task
1872
1906
  include Google::Apis::Core::Hashable
1873
1907
 
1874
- # KRM-style annotations for the resource.
1908
+ # Output only. Unstructured key value map that may be set by external tools to
1909
+ # store and arbitrary metadata. They are not queryable and should be preserved
1910
+ # when modifying objects.
1875
1911
  # Corresponds to the JSON property `annotations`
1876
1912
  # @return [Hash<String,String>]
1877
1913
  attr_accessor :annotations
@@ -1951,11 +1987,12 @@ module Google
1951
1987
  # @return [String]
1952
1988
  attr_accessor :job
1953
1989
 
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
1990
+ # Output only. Unstructured key value map that can be used to organize and
1991
+ # categorize objects. User-provided labels are shared with Google's billing
1992
+ # system, so they can be used to filter, or break down billing charges by team,
1993
+ # component, environment, state, etc. For more information, visit https://cloud.
1994
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
1995
+ # google.com/run/docs/configuring/labels
1959
1996
  # Corresponds to the JSON property `labels`
1960
1997
  # @return [Hash<String,String>]
1961
1998
  attr_accessor :labels
@@ -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.38.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 = "20230423"
26
26
  end
27
27
  end
28
28
  end
@@ -622,6 +622,7 @@ module Google
622
622
 
623
623
  property :service, as: 'service'
624
624
  property :service_account, as: 'serviceAccount'
625
+ property :session_affinity, as: 'sessionAffinity'
625
626
  property :timeout, as: 'timeout'
626
627
  property :uid, as: 'uid'
627
628
  property :update_time, as: 'updateTime'
@@ -654,6 +655,7 @@ module Google
654
655
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
655
656
 
656
657
  property :service_account, as: 'serviceAccount'
658
+ property :session_affinity, as: 'sessionAffinity'
657
659
  property :timeout, as: 'timeout'
658
660
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
659
661
 
@@ -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.38.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-04-30 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.38.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: []