google-apis-run_v2 0.61.0 → 0.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v2/classes.rb +104 -93
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +1 -0
- data/lib/google/apis/run_v2/service.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c24ca63a65a0b3947706fe0d5cb77ffbac1e4816e299c717c5d67e33490f5a8
|
4
|
+
data.tar.gz: 77bbf6c55792308d06b3fbd09198696ba0a813829b871d17a2fc08e59b8e4447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38a56b4da03f4f4f536eb15e8eb7d64373cf82bb402ba7232f743b6e4699d5d2b492099c6e536ef4d6ce6ddac4cb3923e066c59fe2d3eb607a6d795262142f4
|
7
|
+
data.tar.gz: e8ccc0c4f270ebc35ba2ded509b8ae815d52a24dabce9048582e61f9c84fb1557b58bc9e91586dafe99dc19423c81b74e39a1d795f455cd974c24fed18e0a76a
|
data/CHANGELOG.md
CHANGED
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
class GoogleCloudRunV2BinaryAuthorization
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# If present, indicates to use Breakglass using this justification. If
|
29
|
+
# Optional. If present, indicates to use Breakglass using this justification. If
|
30
30
|
# use_default is False, then it must be empty. For more information on
|
31
31
|
# breakglass, see https://cloud.google.com/binary-authorization/docs/using-
|
32
32
|
# breakglass
|
@@ -34,14 +34,14 @@ module Google
|
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :breakglass_justification
|
36
36
|
|
37
|
-
# The path to a binary authorization policy. Format: projects/`project
|
38
|
-
# platforms/cloudRun/`policy-name`
|
37
|
+
# Optional. The path to a binary authorization policy. Format: projects/`project`
|
38
|
+
# /platforms/cloudRun/`policy-name`
|
39
39
|
# Corresponds to the JSON property `policy`
|
40
40
|
# @return [String]
|
41
41
|
attr_accessor :policy
|
42
42
|
|
43
|
-
# If True, indicates to use the default project's binary authorization
|
44
|
-
# If False, binary authorization will be disabled.
|
43
|
+
# Optional. If True, indicates to use the default project's binary authorization
|
44
|
+
# policy. If False, binary authorization will be disabled.
|
45
45
|
# Corresponds to the JSON property `useDefault`
|
46
46
|
# @return [Boolean]
|
47
47
|
attr_accessor :use_default
|
@@ -115,7 +115,7 @@ module Google
|
|
115
115
|
class GoogleCloudRunV2Condition
|
116
116
|
include Google::Apis::Core::Hashable
|
117
117
|
|
118
|
-
# A reason for the execution condition.
|
118
|
+
# Output only. A reason for the execution condition.
|
119
119
|
# Corresponds to the JSON property `executionReason`
|
120
120
|
# @return [String]
|
121
121
|
attr_accessor :execution_reason
|
@@ -130,12 +130,12 @@ module Google
|
|
130
130
|
# @return [String]
|
131
131
|
attr_accessor :message
|
132
132
|
|
133
|
-
# A common (service-level) reason for this condition.
|
133
|
+
# Output only. A common (service-level) reason for this condition.
|
134
134
|
# Corresponds to the JSON property `reason`
|
135
135
|
# @return [String]
|
136
136
|
attr_accessor :reason
|
137
137
|
|
138
|
-
# A reason for the revision condition.
|
138
|
+
# Output only. A reason for the revision condition.
|
139
139
|
# Corresponds to the JSON property `revisionReason`
|
140
140
|
# @return [String]
|
141
141
|
attr_accessor :revision_reason
|
@@ -842,16 +842,17 @@ module Google
|
|
842
842
|
class GoogleCloudRunV2GrpcAction
|
843
843
|
include Google::Apis::Core::Hashable
|
844
844
|
|
845
|
-
# Port number of the gRPC service. Number must be in the range 1 to
|
846
|
-
# not specified, defaults to the exposed port of the container, which
|
847
|
-
# value of container.ports[0].containerPort.
|
845
|
+
# Optional. Port number of the gRPC service. Number must be in the range 1 to
|
846
|
+
# 65535. If not specified, defaults to the exposed port of the container, which
|
847
|
+
# is the value of container.ports[0].containerPort.
|
848
848
|
# Corresponds to the JSON property `port`
|
849
849
|
# @return [Fixnum]
|
850
850
|
attr_accessor :port
|
851
851
|
|
852
|
-
# Service is the name of the service to place in the gRPC
|
853
|
-
# see https://github.com/grpc/grpc/blob/master/doc/health-
|
854
|
-
# is not specified, the default behavior is defined by
|
852
|
+
# Optional. Service is the name of the service to place in the gRPC
|
853
|
+
# HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-
|
854
|
+
# checking.md ). If this is not specified, the default behavior is defined by
|
855
|
+
# gRPC.
|
855
856
|
# Corresponds to the JSON property `service`
|
856
857
|
# @return [String]
|
857
858
|
attr_accessor :service
|
@@ -871,19 +872,19 @@ module Google
|
|
871
872
|
class GoogleCloudRunV2HttpGetAction
|
872
873
|
include Google::Apis::Core::Hashable
|
873
874
|
|
874
|
-
# Custom headers to set in the request. HTTP allows repeated headers.
|
875
|
+
# Optional. Custom headers to set in the request. HTTP allows repeated headers.
|
875
876
|
# Corresponds to the JSON property `httpHeaders`
|
876
877
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2HttpHeader>]
|
877
878
|
attr_accessor :http_headers
|
878
879
|
|
879
|
-
# Path to access on the HTTP server. Defaults to '/'.
|
880
|
+
# Optional. Path to access on the HTTP server. Defaults to '/'.
|
880
881
|
# Corresponds to the JSON property `path`
|
881
882
|
# @return [String]
|
882
883
|
attr_accessor :path
|
883
884
|
|
884
|
-
# Port number to access on the container. Must be in the range 1 to
|
885
|
-
# not specified, defaults to the exposed port of the container, which
|
886
|
-
# value of container.ports[0].containerPort.
|
885
|
+
# Optional. Port number to access on the container. Must be in the range 1 to
|
886
|
+
# 65535. If not specified, defaults to the exposed port of the container, which
|
887
|
+
# is the value of container.ports[0].containerPort.
|
887
888
|
# Corresponds to the JSON property `port`
|
888
889
|
# @return [Fixnum]
|
889
890
|
attr_accessor :port
|
@@ -909,7 +910,7 @@ module Google
|
|
909
910
|
# @return [String]
|
910
911
|
attr_accessor :name
|
911
912
|
|
912
|
-
# The header field value
|
913
|
+
# Optional. The header field value
|
913
914
|
# Corresponds to the JSON property `value`
|
914
915
|
# @return [String]
|
915
916
|
attr_accessor :value
|
@@ -1114,6 +1115,13 @@ module Google
|
|
1114
1115
|
attr_accessor :satisfies_pzs
|
1115
1116
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
1116
1117
|
|
1118
|
+
# A unique string used as a suffix creating a new execution. The Job will become
|
1119
|
+
# ready when the execution is successfully started. The sum of job name and
|
1120
|
+
# token length must be fewer than 63 characters.
|
1121
|
+
# Corresponds to the JSON property `startExecutionToken`
|
1122
|
+
# @return [String]
|
1123
|
+
attr_accessor :start_execution_token
|
1124
|
+
|
1117
1125
|
# ExecutionTemplate describes the data an execution should have when created
|
1118
1126
|
# from a template.
|
1119
1127
|
# Corresponds to the JSON property `template`
|
@@ -1163,6 +1171,7 @@ module Google
|
|
1163
1171
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
1164
1172
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
1165
1173
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1174
|
+
@start_execution_token = args[:start_execution_token] if args.key?(:start_execution_token)
|
1166
1175
|
@template = args[:template] if args.key?(:template)
|
1167
1176
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
1168
1177
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1355,25 +1364,25 @@ module Google
|
|
1355
1364
|
class GoogleCloudRunV2NetworkInterface
|
1356
1365
|
include Google::Apis::Core::Hashable
|
1357
1366
|
|
1358
|
-
# The VPC network that the Cloud Run resource will be able to send
|
1359
|
-
# At least one of network or subnetwork must be specified. If both
|
1360
|
-
# subnetwork are specified, the given VPC subnetwork must belong to
|
1361
|
-
# VPC network. If network is not specified, it will be looked up from
|
1362
|
-
# subnetwork.
|
1367
|
+
# Optional. The VPC network that the Cloud Run resource will be able to send
|
1368
|
+
# traffic to. At least one of network or subnetwork must be specified. If both
|
1369
|
+
# network and subnetwork are specified, the given VPC subnetwork must belong to
|
1370
|
+
# the given VPC network. If network is not specified, it will be looked up from
|
1371
|
+
# the subnetwork.
|
1363
1372
|
# Corresponds to the JSON property `network`
|
1364
1373
|
# @return [String]
|
1365
1374
|
attr_accessor :network
|
1366
1375
|
|
1367
|
-
# The VPC subnetwork that the Cloud Run resource will get IPs from. At
|
1368
|
-
# of network or subnetwork must be specified. If both network and
|
1369
|
-
# specified, the given VPC subnetwork must belong to the given
|
1370
|
-
# subnetwork is not specified, the subnetwork with the same name
|
1371
|
-
# network will be used.
|
1376
|
+
# Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At
|
1377
|
+
# least one of network or subnetwork must be specified. If both network and
|
1378
|
+
# subnetwork are specified, the given VPC subnetwork must belong to the given
|
1379
|
+
# VPC network. If subnetwork is not specified, the subnetwork with the same name
|
1380
|
+
# with the network will be used.
|
1372
1381
|
# Corresponds to the JSON property `subnetwork`
|
1373
1382
|
# @return [String]
|
1374
1383
|
attr_accessor :subnetwork
|
1375
1384
|
|
1376
|
-
# Network tags applied to this Cloud Run resource.
|
1385
|
+
# Optional. Network tags applied to this Cloud Run resource.
|
1377
1386
|
# Corresponds to the JSON property `tags`
|
1378
1387
|
# @return [Array<String>]
|
1379
1388
|
attr_accessor :tags
|
@@ -1429,8 +1438,8 @@ module Google
|
|
1429
1438
|
class GoogleCloudRunV2Probe
|
1430
1439
|
include Google::Apis::Core::Hashable
|
1431
1440
|
|
1432
|
-
# Minimum consecutive failures for the probe to be considered failed
|
1433
|
-
# having succeeded. Defaults to 3. Minimum value is 1.
|
1441
|
+
# Optional. Minimum consecutive failures for the probe to be considered failed
|
1442
|
+
# after having succeeded. Defaults to 3. Minimum value is 1.
|
1434
1443
|
# Corresponds to the JSON property `failureThreshold`
|
1435
1444
|
# @return [Fixnum]
|
1436
1445
|
attr_accessor :failure_threshold
|
@@ -1445,16 +1454,16 @@ module Google
|
|
1445
1454
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction]
|
1446
1455
|
attr_accessor :http_get
|
1447
1456
|
|
1448
|
-
# Number of seconds after the container has started before the probe
|
1449
|
-
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
1457
|
+
# Optional. Number of seconds after the container has started before the probe
|
1458
|
+
# is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
1450
1459
|
# liveness probe is 3600. Maximum value for startup probe is 240.
|
1451
1460
|
# Corresponds to the JSON property `initialDelaySeconds`
|
1452
1461
|
# @return [Fixnum]
|
1453
1462
|
attr_accessor :initial_delay_seconds
|
1454
1463
|
|
1455
|
-
# How often (in seconds) to perform the probe. Default to 10 seconds.
|
1456
|
-
# value is 1. Maximum value for liveness probe is 3600. Maximum value
|
1457
|
-
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
1464
|
+
# Optional. How often (in seconds) to perform the probe. Default to 10 seconds.
|
1465
|
+
# Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value
|
1466
|
+
# for startup probe is 240. Must be greater or equal than timeout_seconds.
|
1458
1467
|
# Corresponds to the JSON property `periodSeconds`
|
1459
1468
|
# @return [Fixnum]
|
1460
1469
|
attr_accessor :period_seconds
|
@@ -1464,8 +1473,9 @@ module Google
|
|
1464
1473
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction]
|
1465
1474
|
attr_accessor :tcp_socket
|
1466
1475
|
|
1467
|
-
# Number of seconds after which the probe times out. Defaults to 1
|
1468
|
-
# Minimum value is 1. Maximum value is 3600. Must be smaller than
|
1476
|
+
# Optional. Number of seconds after which the probe times out. Defaults to 1
|
1477
|
+
# second. Minimum value is 1. Maximum value is 3600. Must be smaller than
|
1478
|
+
# period_seconds.
|
1469
1479
|
# Corresponds to the JSON property `timeoutSeconds`
|
1470
1480
|
# @return [Fixnum]
|
1471
1481
|
attr_accessor :timeout_seconds
|
@@ -1759,12 +1769,12 @@ module Google
|
|
1759
1769
|
class GoogleCloudRunV2RevisionScaling
|
1760
1770
|
include Google::Apis::Core::Hashable
|
1761
1771
|
|
1762
|
-
# Maximum number of serving instances that this resource should have.
|
1772
|
+
# Optional. Maximum number of serving instances that this resource should have.
|
1763
1773
|
# Corresponds to the JSON property `maxInstanceCount`
|
1764
1774
|
# @return [Fixnum]
|
1765
1775
|
attr_accessor :max_instance_count
|
1766
1776
|
|
1767
|
-
# Minimum number of serving instances that this resource should have.
|
1777
|
+
# Optional. Minimum number of serving instances that this resource should have.
|
1768
1778
|
# Corresponds to the JSON property `minInstanceCount`
|
1769
1779
|
# @return [Fixnum]
|
1770
1780
|
attr_accessor :min_instance_count
|
@@ -1804,10 +1814,10 @@ module Google
|
|
1804
1814
|
class GoogleCloudRunV2RevisionTemplate
|
1805
1815
|
include Google::Apis::Core::Hashable
|
1806
1816
|
|
1807
|
-
# Unstructured key value map that may be set by external tools to
|
1808
|
-
# arbitrary metadata. They are not queryable and should be preserved
|
1809
|
-
# modifying objects. Cloud Run API v2 does not support annotations with `
|
1810
|
-
# googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
|
1817
|
+
# Optional. Unstructured key value map that may be set by external tools to
|
1818
|
+
# store and arbitrary metadata. They are not queryable and should be preserved
|
1819
|
+
# when modifying objects. Cloud Run API v2 does not support annotations with `
|
1820
|
+
# run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
|
1811
1821
|
# autoscaling.knative.dev` namespaces, and they will be rejected. All system
|
1812
1822
|
# annotations in v1 now have a corresponding field in v2 RevisionTemplate. This
|
1813
1823
|
# field follows Kubernetes annotations' namespacing, limits, and rules.
|
@@ -1828,7 +1838,7 @@ module Google
|
|
1828
1838
|
# @return [String]
|
1829
1839
|
attr_accessor :encryption_key
|
1830
1840
|
|
1831
|
-
# The sandbox environment to host this Revision.
|
1841
|
+
# Optional. The sandbox environment to host this Revision.
|
1832
1842
|
# Corresponds to the JSON property `executionEnvironment`
|
1833
1843
|
# @return [String]
|
1834
1844
|
attr_accessor :execution_environment
|
@@ -1839,26 +1849,27 @@ module Google
|
|
1839
1849
|
attr_accessor :health_check_disabled
|
1840
1850
|
alias_method :health_check_disabled?, :health_check_disabled
|
1841
1851
|
|
1842
|
-
# Unstructured key value map that can be used to organize and
|
1843
|
-
# User-provided labels are shared with Google's billing
|
1844
|
-
# used to filter, or break down billing charges by team,
|
1845
|
-
# state, etc. For more information, visit https://cloud.
|
1846
|
-
# manager/docs/creating-managing-labels or https://cloud.
|
1847
|
-
# configuring/labels. Cloud Run API v2 does not support
|
1848
|
-
# googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev
|
1849
|
-
# autoscaling.knative.dev` namespaces, and they will be rejected. All
|
1850
|
-
# labels in v1 now have a corresponding field in v2 RevisionTemplate.
|
1852
|
+
# Optional. Unstructured key value map that can be used to organize and
|
1853
|
+
# categorize objects. User-provided labels are shared with Google's billing
|
1854
|
+
# system, so they can be used to filter, or break down billing charges by team,
|
1855
|
+
# component, environment, state, etc. For more information, visit https://cloud.
|
1856
|
+
# google.com/resource-manager/docs/creating-managing-labels or https://cloud.
|
1857
|
+
# google.com/run/docs/configuring/labels. Cloud Run API v2 does not support
|
1858
|
+
# labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
|
1859
|
+
# , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
|
1860
|
+
# system labels in v1 now have a corresponding field in v2 RevisionTemplate.
|
1851
1861
|
# Corresponds to the JSON property `labels`
|
1852
1862
|
# @return [Hash<String,String>]
|
1853
1863
|
attr_accessor :labels
|
1854
1864
|
|
1855
|
-
# Sets the maximum number of requests that each serving instance can
|
1865
|
+
# Optional. Sets the maximum number of requests that each serving instance can
|
1866
|
+
# receive.
|
1856
1867
|
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1857
1868
|
# @return [Fixnum]
|
1858
1869
|
attr_accessor :max_instance_request_concurrency
|
1859
1870
|
|
1860
|
-
# The unique name for the revision. If this field is omitted, it will
|
1861
|
-
# automatically generated based on the Service name.
|
1871
|
+
# Optional. The unique name for the revision. If this field is omitted, it will
|
1872
|
+
# be automatically generated based on the Service name.
|
1862
1873
|
# Corresponds to the JSON property `revision`
|
1863
1874
|
# @return [String]
|
1864
1875
|
attr_accessor :revision
|
@@ -1868,10 +1879,10 @@ module Google
|
|
1868
1879
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
|
1869
1880
|
attr_accessor :scaling
|
1870
1881
|
|
1871
|
-
# Email address of the IAM service account associated with the
|
1872
|
-
# service. The service account represents the identity of the
|
1873
|
-
# and determines what permissions the revision has. If not
|
1874
|
-
# revision will use the project's default service account.
|
1882
|
+
# Optional. Email address of the IAM service account associated with the
|
1883
|
+
# revision of the service. The service account represents the identity of the
|
1884
|
+
# running revision, and determines what permissions the revision has. If not
|
1885
|
+
# provided, the revision will use the project's default service account.
|
1875
1886
|
# Corresponds to the JSON property `serviceAccount`
|
1876
1887
|
# @return [String]
|
1877
1888
|
attr_accessor :service_account
|
@@ -1882,12 +1893,12 @@ module Google
|
|
1882
1893
|
attr_accessor :session_affinity
|
1883
1894
|
alias_method :session_affinity?, :session_affinity
|
1884
1895
|
|
1885
|
-
# Max allowed time for an instance to respond to a request.
|
1896
|
+
# Optional. Max allowed time for an instance to respond to a request.
|
1886
1897
|
# Corresponds to the JSON property `timeout`
|
1887
1898
|
# @return [String]
|
1888
1899
|
attr_accessor :timeout
|
1889
1900
|
|
1890
|
-
# A list of Volumes to make available to containers.
|
1901
|
+
# Optional. A list of Volumes to make available to containers.
|
1891
1902
|
# Corresponds to the JSON property `volumes`
|
1892
1903
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
1893
1904
|
attr_accessor :volumes
|
@@ -2131,8 +2142,8 @@ module Google
|
|
2131
2142
|
# @return [Fixnum]
|
2132
2143
|
attr_accessor :generation
|
2133
2144
|
|
2134
|
-
# Provides the ingress settings for this Service. On output, returns
|
2135
|
-
# currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
|
2145
|
+
# Optional. Provides the ingress settings for this Service. On output, returns
|
2146
|
+
# the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
|
2136
2147
|
# revision is active.
|
2137
2148
|
# Corresponds to the JSON property `ingress`
|
2138
2149
|
# @return [String]
|
@@ -2169,13 +2180,13 @@ module Google
|
|
2169
2180
|
# @return [String]
|
2170
2181
|
attr_accessor :latest_ready_revision
|
2171
2182
|
|
2172
|
-
# The launch stage as defined by [Google Cloud Platform Launch Stages](
|
2173
|
-
# cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `
|
2174
|
-
# `GA`. If no value is specified, GA is assumed. Set the launch stage
|
2175
|
-
# preview stage on input to allow use of preview features in that stage. On
|
2176
|
-
# (or output), describes whether the resource uses preview features. For
|
2177
|
-
# if ALPHA is provided as input, but only BETA and GA-level features
|
2178
|
-
# this field will be BETA on output.
|
2183
|
+
# Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](
|
2184
|
+
# https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `
|
2185
|
+
# BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage
|
2186
|
+
# to a preview stage on input to allow use of preview features in that stage. On
|
2187
|
+
# read (or output), describes whether the resource uses preview features. For
|
2188
|
+
# example, if ALPHA is provided as input, but only BETA and GA-level features
|
2189
|
+
# are used, this field will be BETA on output.
|
2179
2190
|
# Corresponds to the JSON property `launchStage`
|
2180
2191
|
# @return [String]
|
2181
2192
|
attr_accessor :launch_stage
|
@@ -2242,9 +2253,9 @@ module Google
|
|
2242
2253
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
|
2243
2254
|
attr_accessor :terminal_condition
|
2244
2255
|
|
2245
|
-
# Specifies how to distribute traffic over a collection of Revisions
|
2246
|
-
# to the Service. If traffic is empty or not provided, defaults to 100%
|
2247
|
-
# to the latest `Ready` Revision.
|
2256
|
+
# Optional. Specifies how to distribute traffic over a collection of Revisions
|
2257
|
+
# belonging to the Service. If traffic is empty or not provided, defaults to 100%
|
2258
|
+
# traffic to the latest `Ready` Revision.
|
2248
2259
|
# Corresponds to the JSON property `traffic`
|
2249
2260
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget>]
|
2250
2261
|
attr_accessor :traffic
|
@@ -2318,9 +2329,9 @@ module Google
|
|
2318
2329
|
class GoogleCloudRunV2ServiceScaling
|
2319
2330
|
include Google::Apis::Core::Hashable
|
2320
2331
|
|
2321
|
-
# total min instances for the service. This number of instances is
|
2322
|
-
# all revisions with specified traffic based on the percent of
|
2323
|
-
# receiving. (BETA)
|
2332
|
+
# Optional. total min instances for the service. This number of instances is
|
2333
|
+
# divided among all revisions with specified traffic based on the percent of
|
2334
|
+
# traffic they are receiving. (BETA)
|
2324
2335
|
# Corresponds to the JSON property `minInstanceCount`
|
2325
2336
|
# @return [Fixnum]
|
2326
2337
|
attr_accessor :min_instance_count
|
@@ -2339,9 +2350,9 @@ module Google
|
|
2339
2350
|
class GoogleCloudRunV2TcpSocketAction
|
2340
2351
|
include Google::Apis::Core::Hashable
|
2341
2352
|
|
2342
|
-
# Port number to access on the container. Must be in the range 1 to
|
2343
|
-
# not specified, defaults to the exposed port of the container, which
|
2344
|
-
# value of container.ports[0].containerPort.
|
2353
|
+
# Optional. Port number to access on the container. Must be in the range 1 to
|
2354
|
+
# 65535. If not specified, defaults to the exposed port of the container, which
|
2355
|
+
# is the value of container.ports[0].containerPort.
|
2345
2356
|
# Corresponds to the JSON property `port`
|
2346
2357
|
# @return [Fixnum]
|
2347
2358
|
attr_accessor :port
|
@@ -2636,7 +2647,7 @@ module Google
|
|
2636
2647
|
# @return [String]
|
2637
2648
|
attr_accessor :encryption_key
|
2638
2649
|
|
2639
|
-
# The execution environment being used to host this Task.
|
2650
|
+
# Optional. The execution environment being used to host this Task.
|
2640
2651
|
# Corresponds to the JSON property `executionEnvironment`
|
2641
2652
|
# @return [String]
|
2642
2653
|
attr_accessor :execution_environment
|
@@ -2647,23 +2658,23 @@ module Google
|
|
2647
2658
|
# @return [Fixnum]
|
2648
2659
|
attr_accessor :max_retries
|
2649
2660
|
|
2650
|
-
# Email address of the IAM service account associated with the Task of
|
2651
|
-
# The service account represents the identity of the running task, and
|
2661
|
+
# Optional. Email address of the IAM service account associated with the Task of
|
2662
|
+
# a Job. The service account represents the identity of the running task, and
|
2652
2663
|
# determines what permissions the task has. If not provided, the task will use
|
2653
2664
|
# the project's default service account.
|
2654
2665
|
# Corresponds to the JSON property `serviceAccount`
|
2655
2666
|
# @return [String]
|
2656
2667
|
attr_accessor :service_account
|
2657
2668
|
|
2658
|
-
# Max allowed time duration the Task may be active before the system
|
2659
|
-
# actively try to mark it failed and kill associated containers. This
|
2660
|
-
# per attempt of a task, meaning each retry can run for the full timeout.
|
2669
|
+
# Optional. Max allowed time duration the Task may be active before the system
|
2670
|
+
# will actively try to mark it failed and kill associated containers. This
|
2671
|
+
# applies per attempt of a task, meaning each retry can run for the full timeout.
|
2661
2672
|
# Defaults to 600 seconds.
|
2662
2673
|
# Corresponds to the JSON property `timeout`
|
2663
2674
|
# @return [String]
|
2664
2675
|
attr_accessor :timeout
|
2665
2676
|
|
2666
|
-
# A list of Volumes to make available to containers.
|
2677
|
+
# Optional. A list of Volumes to make available to containers.
|
2667
2678
|
# Corresponds to the JSON property `volumes`
|
2668
2679
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
2669
2680
|
attr_accessor :volumes
|
@@ -2913,14 +2924,14 @@ module Google
|
|
2913
2924
|
# @return [String]
|
2914
2925
|
attr_accessor :connector
|
2915
2926
|
|
2916
|
-
# Traffic VPC egress settings. If not provided, it defaults to
|
2927
|
+
# Optional. Traffic VPC egress settings. If not provided, it defaults to
|
2917
2928
|
# PRIVATE_RANGES_ONLY.
|
2918
2929
|
# Corresponds to the JSON property `egress`
|
2919
2930
|
# @return [String]
|
2920
2931
|
attr_accessor :egress
|
2921
2932
|
|
2922
|
-
# Direct VPC egress settings. Currently only single network interface
|
2923
|
-
# supported.
|
2933
|
+
# Optional. Direct VPC egress settings. Currently only single network interface
|
2934
|
+
# is supported.
|
2924
2935
|
# Corresponds to the JSON property `networkInterfaces`
|
2925
2936
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2NetworkInterface>]
|
2926
2937
|
attr_accessor :network_interfaces
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.62.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240412"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -892,6 +892,7 @@ module Google
|
|
892
892
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
893
893
|
property :reconciling, as: 'reconciling'
|
894
894
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
895
|
+
property :start_execution_token, as: 'startExecutionToken'
|
895
896
|
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
|
896
897
|
|
897
898
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
@@ -363,9 +363,9 @@ module Google
|
|
363
363
|
# location`/jobs/`job`
|
364
364
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object
|
365
365
|
# @param [Boolean] allow_missing
|
366
|
-
# If set to true, and if the Job does not exist, it will create a new
|
367
|
-
# Caller must have both create and update permissions for this call if this
|
368
|
-
# set to true.
|
366
|
+
# Optional. If set to true, and if the Job does not exist, it will create a new
|
367
|
+
# one. Caller must have both create and update permissions for this call if this
|
368
|
+
# is set to true.
|
369
369
|
# @param [Boolean] validate_only
|
370
370
|
# Indicates that the request should be validated and default values populated,
|
371
371
|
# without persisting the request or updating any resources.
|
@@ -1127,9 +1127,9 @@ module Google
|
|
1127
1127
|
# location`/services/`service_id`
|
1128
1128
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
|
1129
1129
|
# @param [Boolean] allow_missing
|
1130
|
-
# If set to true, and if the Service does not exist, it will create a
|
1131
|
-
# The caller must have 'run.services.create' permissions if this is set
|
1132
|
-
# and the Service does not exist.
|
1130
|
+
# Optional. If set to true, and if the Service does not exist, it will create a
|
1131
|
+
# new one. The caller must have 'run.services.create' permissions if this is set
|
1132
|
+
# to true and the Service does not exist.
|
1133
1133
|
# @param [String] update_mask
|
1134
1134
|
# Optional. The list of fields to be updated.
|
1135
1135
|
# @param [Boolean] validate_only
|
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.
|
4
|
+
version: 0.62.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: 2024-
|
11
|
+
date: 2024-04-21 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.62.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: []
|