google-apis-run_v2 0.36.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: c40d9fe3fbdc1cd4b13b2b5166d1948ecf9703e7af7016462e78be6b63607243
4
- data.tar.gz: 571608e89a8d7685419c3c2e0ce19917272637928f81bf27a58328e3d7e2389a
3
+ metadata.gz: c91c5350166b91ec751198f144fef862338ac4c020d766ffd67d21fdb84b2a3c
4
+ data.tar.gz: 598711c17d0cfcff69fba4c7a781b0b1c80991b90adf014c5fe3fd29a073f757
5
5
  SHA512:
6
- metadata.gz: 7de98082ca34e47c11cc08f40994240f83bbf472123d6f633598864172432d28ca48abb115e61dade59376c570b71d63e858df8c272f8fac80b604ca2d32a728
7
- data.tar.gz: 2757965eb7c9980af78bfb5535ce8dbc28c04f4cd133174dd72caac309f48f9e9b610902983e8363303cc0b0b9bbbe4c8a86d832cae9b3610816bdb954e74031
6
+ metadata.gz: 0e2c466daf4e805b97922314ea07106038f34fa5b2a86a9ac0f2aa245705db6aaf19f301606407ca714aeca3ec836cb94505c72d72fda84d9b10a6f8b3b79a9e
7
+ data.tar.gz: db2f5cd89ec8fa54566f94acd4e6f746cca090b306b2919b99797389eb2c3294c8fcae9ea10f7be0ec7ad4e579aa82cb16007e23230e512bc648b54981cb6b2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.37.0 (2023-04-23)
8
+
9
+ * Regenerated from discovery document revision 20230416
10
+
3
11
  ### v0.36.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230312
@@ -147,25 +147,13 @@ module Google
147
147
  include Google::Apis::Core::Hashable
148
148
 
149
149
  # Arguments to the entrypoint. The docker image's CMD is used if this is not
150
- # provided. Variable references $(VAR_NAME) are expanded using the container's
151
- # environment. If a variable cannot be resolved, the reference in the input
152
- # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $
153
- # $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of
154
- # whether the variable exists or not. More info: https://kubernetes.io/docs/
155
- # tasks/inject-data-application/define-command-argument-container/#running-a-
156
- # command-in-a-shell
150
+ # provided.
157
151
  # Corresponds to the JSON property `args`
158
152
  # @return [Array<String>]
159
153
  attr_accessor :args
160
154
 
161
155
  # Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT
162
- # is used if this is not provided. Variable references $(VAR_NAME) are expanded
163
- # using the container's environment. If a variable cannot be resolved, the
164
- # reference in the input string will be unchanged. The $(VAR_NAME) syntax can be
165
- # escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be
166
- # expanded, regardless of whether the variable exists or not. More info: https://
167
- # kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
168
- # container/#running-a-command-in-a-shell
156
+ # is used if this is not provided.
169
157
  # Corresponds to the JSON property `command`
170
158
  # @return [Array<String>]
171
159
  attr_accessor :command
@@ -177,7 +165,7 @@ module Google
177
165
 
178
166
  # Required. Name of the container image in Dockerhub, Google Artifact Registry,
179
167
  # or Google Container Registry. If the host is not provided, Dockerhub is
180
- # assumed. More info: https://kubernetes.io/docs/concepts/containers/images
168
+ # assumed.
181
169
  # Corresponds to the JSON property `image`
182
170
  # @return [String]
183
171
  attr_accessor :image
@@ -334,7 +322,9 @@ module Google
334
322
  class GoogleCloudRunV2Execution
335
323
  include Google::Apis::Core::Hashable
336
324
 
337
- # 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.
338
328
  # Corresponds to the JSON property `annotations`
339
329
  # @return [Hash<String,String>]
340
330
  attr_accessor :annotations
@@ -397,11 +387,12 @@ module Google
397
387
  # @return [String]
398
388
  attr_accessor :job
399
389
 
400
- # KRM-style labels for the resource. User-provided labels are shared with Google'
401
- # s billing system, so they can be used to filter, or break down billing charges
402
- # by team, component, environment, state, etc. For more information, visit https:
403
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
404
- # 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
405
396
  # Corresponds to the JSON property `labels`
406
397
  # @return [Hash<String,String>]
407
398
  attr_accessor :labels
@@ -436,8 +427,7 @@ module Google
436
427
  # should run at any given time. Must be <= task_count. The actual number of
437
428
  # tasks running in steady state will be less than this number when ((.spec.
438
429
  # task_count - .status.successful) < .spec.parallelism), i.e. when the work left
439
- # to do is less than max parallelism. More info: https://kubernetes.io/docs/
440
- # concepts/workloads/controllers/jobs-run-to-completion/
430
+ # to do is less than max parallelism.
441
431
  # Corresponds to the JSON property `parallelism`
442
432
  # @return [Fixnum]
443
433
  attr_accessor :parallelism
@@ -479,8 +469,7 @@ module Google
479
469
 
480
470
  # Output only. Specifies the desired number of tasks the execution should run.
481
471
  # Setting to 1 means that parallelism is limited to 1 and the success of that
482
- # task signals the success of the execution. More info: https://kubernetes.io/
483
- # docs/concepts/workloads/controllers/jobs-run-to-completion/
472
+ # task signals the success of the execution.
484
473
  # Corresponds to the JSON property `taskCount`
485
474
  # @return [Fixnum]
486
475
  attr_accessor :task_count
@@ -576,17 +565,24 @@ module Google
576
565
  class GoogleCloudRunV2ExecutionTemplate
577
566
  include Google::Apis::Core::Hashable
578
567
 
579
- # KRM-style annotations for the resource. Cloud Run API v2 does not support
580
- # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
581
- # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
582
- # rejected. All system annotations in v1 now have a corresponding field in v2
583
- # 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.
584
575
  # Corresponds to the JSON property `annotations`
585
576
  # @return [Hash<String,String>]
586
577
  attr_accessor :annotations
587
578
 
588
- # KRM-style labels for the resource. Cloud Run API v2 does not support labels
589
- # 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 `
590
586
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
591
587
  # labels in v1 now have a corresponding field in v2 ExecutionTemplate.
592
588
  # Corresponds to the JSON property `labels`
@@ -722,14 +718,13 @@ module Google
722
718
  class GoogleCloudRunV2Job
723
719
  include Google::Apis::Core::Hashable
724
720
 
725
- # KRM-style annotations for the resource. Unstructured key value map that may be
726
- # set by external tools to store and arbitrary metadata. They are not queryable
727
- # and should be preserved when modifying objects. Cloud Run API v2 does not
728
- # support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `
729
- # serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will
730
- # be rejected. All system annotations in v1 now have a corresponding field in v2
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
731
727
  # Job. This field follows Kubernetes annotations' namespacing, limits, and rules.
732
- # More info: https://kubernetes.io/docs/user-guide/annotations
733
728
  # Corresponds to the JSON property `annotations`
734
729
  # @return [Hash<String,String>]
735
730
  attr_accessor :annotations
@@ -795,14 +790,15 @@ module Google
795
790
  # @return [Fixnum]
796
791
  attr_accessor :generation
797
792
 
798
- # KRM-style labels for the resource. User-provided labels are shared with Google'
799
- # s billing system, so they can be used to filter, or break down billing charges
800
- # by team, component, environment, state, etc. For more information, visit https:
801
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
802
- # cloud.google.com/run/docs/configuring/labels Cloud Run API v2 does not support
803
- # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
804
- # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
805
- # 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.
806
802
  # Corresponds to the JSON property `labels`
807
803
  # @return [Hash<String,String>]
808
804
  attr_accessor :labels
@@ -1077,9 +1073,7 @@ module Google
1077
1073
 
1078
1074
  # Number of seconds after the container has started before the probe is
1079
1075
  # initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
1080
- # liveness probe is 3600. Maximum value for startup probe is 240. More info:
1081
- # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
1082
- # probes
1076
+ # liveness probe is 3600. Maximum value for startup probe is 240.
1083
1077
  # Corresponds to the JSON property `initialDelaySeconds`
1084
1078
  # @return [Fixnum]
1085
1079
  attr_accessor :initial_delay_seconds
@@ -1098,8 +1092,6 @@ module Google
1098
1092
 
1099
1093
  # Number of seconds after which the probe times out. Defaults to 1 second.
1100
1094
  # Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
1101
- # More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
1102
- # container-probes
1103
1095
  # Corresponds to the JSON property `timeoutSeconds`
1104
1096
  # @return [Fixnum]
1105
1097
  attr_accessor :timeout_seconds
@@ -1130,15 +1122,23 @@ module Google
1130
1122
  attr_accessor :cpu_idle
1131
1123
  alias_method :cpu_idle?, :cpu_idle
1132
1124
 
1133
- # Only memory and CPU are supported. Note: The only supported values for CPU are
1134
- # '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The
1135
- # values of the map is string form of the 'quantity' k8s type: https://github.
1136
- # com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
1137
- # resource/quantity.go
1125
+ # Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for
1126
+ # CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory.
1127
+ # For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
1128
+ # * For supported 'memory' values and syntax, go to https://cloud.google.com/run/
1129
+ # docs/configuring/memory-limits
1138
1130
  # Corresponds to the JSON property `limits`
1139
1131
  # @return [Hash<String,String>]
1140
1132
  attr_accessor :limits
1141
1133
 
1134
+ # Determines whether CPU should be boosted on startup of a new container
1135
+ # instance above the requested CPU threshold, this can help reduce cold-start
1136
+ # latency.
1137
+ # Corresponds to the JSON property `startupCpuBoost`
1138
+ # @return [Boolean]
1139
+ attr_accessor :startup_cpu_boost
1140
+ alias_method :startup_cpu_boost?, :startup_cpu_boost
1141
+
1142
1142
  def initialize(**args)
1143
1143
  update!(**args)
1144
1144
  end
@@ -1147,6 +1147,7 @@ module Google
1147
1147
  def update!(**args)
1148
1148
  @cpu_idle = args[:cpu_idle] if args.key?(:cpu_idle)
1149
1149
  @limits = args[:limits] if args.key?(:limits)
1150
+ @startup_cpu_boost = args[:startup_cpu_boost] if args.key?(:startup_cpu_boost)
1150
1151
  end
1151
1152
  end
1152
1153
 
@@ -1156,7 +1157,9 @@ module Google
1156
1157
  class GoogleCloudRunV2Revision
1157
1158
  include Google::Apis::Core::Hashable
1158
1159
 
1159
- # 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.
1160
1163
  # Corresponds to the JSON property `annotations`
1161
1164
  # @return [Hash<String,String>]
1162
1165
  attr_accessor :annotations
@@ -1225,11 +1228,12 @@ module Google
1225
1228
  # @return [Fixnum]
1226
1229
  attr_accessor :generation
1227
1230
 
1228
- # KRM-style labels for the resource. User-provided labels are shared with Google'
1229
- # s billing system, so they can be used to filter, or break down billing charges
1230
- # by team, component, environment, state, etc. For more information, visit https:
1231
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1232
- # 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.
1233
1237
  # Corresponds to the JSON property `labels`
1234
1238
  # @return [Hash<String,String>]
1235
1239
  attr_accessor :labels
@@ -1297,6 +1301,12 @@ module Google
1297
1301
  # @return [String]
1298
1302
  attr_accessor :service_account
1299
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
+
1300
1310
  # Max allowed time for an instance to respond to a request.
1301
1311
  # Corresponds to the JSON property `timeout`
1302
1312
  # @return [String]
@@ -1356,6 +1366,7 @@ module Google
1356
1366
  @scaling = args[:scaling] if args.key?(:scaling)
1357
1367
  @service = args[:service] if args.key?(:service)
1358
1368
  @service_account = args[:service_account] if args.key?(:service_account)
1369
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1359
1370
  @timeout = args[:timeout] if args.key?(:timeout)
1360
1371
  @uid = args[:uid] if args.key?(:uid)
1361
1372
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1394,11 +1405,13 @@ module Google
1394
1405
  class GoogleCloudRunV2RevisionTemplate
1395
1406
  include Google::Apis::Core::Hashable
1396
1407
 
1397
- # KRM-style annotations for the resource. Cloud Run API v2 does not support
1398
- # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
1399
- # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
1400
- # rejected. All system annotations in v1 now have a corresponding field in v2
1401
- # 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.
1402
1415
  # Corresponds to the JSON property `annotations`
1403
1416
  # @return [Hash<String,String>]
1404
1417
  attr_accessor :annotations
@@ -1421,8 +1434,13 @@ module Google
1421
1434
  # @return [String]
1422
1435
  attr_accessor :execution_environment
1423
1436
 
1424
- # KRM-style labels for the resource. Cloud Run API v2 does not support labels
1425
- # 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 `
1426
1444
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1427
1445
  # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1428
1446
  # Corresponds to the JSON property `labels`
@@ -1453,6 +1471,12 @@ module Google
1453
1471
  # @return [String]
1454
1472
  attr_accessor :service_account
1455
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
+
1456
1480
  # Max allowed time for an instance to respond to a request.
1457
1481
  # Corresponds to the JSON property `timeout`
1458
1482
  # @return [String]
@@ -1486,6 +1510,7 @@ module Google
1486
1510
  @revision = args[:revision] if args.key?(:revision)
1487
1511
  @scaling = args[:scaling] if args.key?(:scaling)
1488
1512
  @service_account = args[:service_account] if args.key?(:service_account)
1513
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1489
1514
  @timeout = args[:timeout] if args.key?(:timeout)
1490
1515
  @volumes = args[:volumes] if args.key?(:volumes)
1491
1516
  @vpc_access = args[:vpc_access] if args.key?(:vpc_access)
@@ -1610,10 +1635,10 @@ module Google
1610
1635
  # arbitrary metadata. They are not queryable and should be preserved when
1611
1636
  # modifying objects. Cloud Run API v2 does not support annotations with `run.
1612
1637
  # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1613
- # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1614
- # annotations in v1 now have a corresponding field in v2 Service. This field
1615
- # follows Kubernetes annotations' namespacing, limits, and rules. More info:
1616
- # https://kubernetes.io/docs/user-guide/annotations
1638
+ # autoscaling.knative.dev` namespaces, and they will be rejected in new
1639
+ # resources. All system annotations in v1 now have a corresponding field in v2
1640
+ # Service. This field follows Kubernetes annotations' namespacing, limits, and
1641
+ # rules.
1617
1642
  # Corresponds to the JSON property `annotations`
1618
1643
  # @return [Hash<String,String>]
1619
1644
  attr_accessor :annotations
@@ -1689,12 +1714,12 @@ module Google
1689
1714
  # @return [String]
1690
1715
  attr_accessor :ingress
1691
1716
 
1692
- # Map of string keys and values that can be used to organize and categorize
1693
- # objects. User-provided labels are shared with Google's billing system, so they
1694
- # can be used to filter, or break down billing charges by team, component,
1695
- # environment, state, etc. For more information, visit https://cloud.google.com/
1696
- # resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/
1697
- # 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.
1698
1723
  # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1699
1724
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1700
1725
  # labels in v1 now have a corresponding field in v2 Service.
@@ -1880,7 +1905,9 @@ module Google
1880
1905
  class GoogleCloudRunV2Task
1881
1906
  include Google::Apis::Core::Hashable
1882
1907
 
1883
- # 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.
1884
1911
  # Corresponds to the JSON property `annotations`
1885
1912
  # @return [Hash<String,String>]
1886
1913
  attr_accessor :annotations
@@ -1960,11 +1987,12 @@ module Google
1960
1987
  # @return [String]
1961
1988
  attr_accessor :job
1962
1989
 
1963
- # KRM-style labels for the resource. User-provided labels are shared with Google'
1964
- # s billing system, so they can be used to filter, or break down billing charges
1965
- # by team, component, environment, state, etc. For more information, visit https:
1966
- # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1967
- # 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
1968
1996
  # Corresponds to the JSON property `labels`
1969
1997
  # @return [Hash<String,String>]
1970
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.36.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 = "20230312"
25
+ REVISION = "20230423"
26
26
  end
27
27
  end
28
28
  end
@@ -589,6 +589,7 @@ module Google
589
589
  class Representation < Google::Apis::Core::JsonRepresentation
590
590
  property :cpu_idle, as: 'cpuIdle'
591
591
  hash :limits, as: 'limits'
592
+ property :startup_cpu_boost, as: 'startupCpuBoost'
592
593
  end
593
594
  end
594
595
 
@@ -621,6 +622,7 @@ module Google
621
622
 
622
623
  property :service, as: 'service'
623
624
  property :service_account, as: 'serviceAccount'
625
+ property :session_affinity, as: 'sessionAffinity'
624
626
  property :timeout, as: 'timeout'
625
627
  property :uid, as: 'uid'
626
628
  property :update_time, as: 'updateTime'
@@ -653,6 +655,7 @@ module Google
653
655
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
654
656
 
655
657
  property :service_account, as: 'serviceAccount'
658
+ property :session_affinity, as: 'sessionAffinity'
656
659
  property :timeout, as: 'timeout'
657
660
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
658
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.36.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-03-19 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.36.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: []