google-cloud-run-v2 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/run/v2/condition_pb.rb +2 -1
- data/lib/google/cloud/run/v2/execution_services_pb.rb +2 -1
- data/lib/google/cloud/run/v2/executions/client.rb +13 -5
- data/lib/google/cloud/run/v2/executions/operations.rb +13 -5
- data/lib/google/cloud/run/v2/executions/rest/client.rb +13 -5
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +13 -5
- data/lib/google/cloud/run/v2/job_pb.rb +2 -2
- data/lib/google/cloud/run/v2/job_services_pb.rb +1 -1
- data/lib/google/cloud/run/v2/jobs/client.rb +25 -13
- data/lib/google/cloud/run/v2/jobs/operations.rb +13 -5
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +25 -13
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +13 -5
- data/lib/google/cloud/run/v2/k8s.min_pb.rb +3 -1
- data/lib/google/cloud/run/v2/revision_pb.rb +3 -1
- data/lib/google/cloud/run/v2/revision_services_pb.rb +2 -1
- data/lib/google/cloud/run/v2/revision_template_pb.rb +2 -1
- data/lib/google/cloud/run/v2/revisions/client.rb +11 -4
- data/lib/google/cloud/run/v2/revisions/operations.rb +13 -5
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +11 -4
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +13 -5
- data/lib/google/cloud/run/v2/service_pb.rb +3 -1
- data/lib/google/cloud/run/v2/service_services_pb.rb +1 -1
- data/lib/google/cloud/run/v2/services/client.rb +26 -13
- data/lib/google/cloud/run/v2/services/operations.rb +13 -5
- data/lib/google/cloud/run/v2/services/rest/client.rb +26 -13
- data/lib/google/cloud/run/v2/services/rest/operations.rb +13 -5
- data/lib/google/cloud/run/v2/status_pb.rb +42 -0
- data/lib/google/cloud/run/v2/task_template_pb.rb +2 -1
- data/lib/google/cloud/run/v2/tasks/client.rb +7 -2
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +7 -2
- data/lib/google/cloud/run/v2/vendor_settings_pb.rb +2 -1
- data/lib/google/cloud/run/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/run/v2/condition.rb +6 -6
- data/proto_docs/google/cloud/run/v2/job.rb +43 -4
- data/proto_docs/google/cloud/run/v2/k8s.min.rb +65 -28
- data/proto_docs/google/cloud/run/v2/revision.rb +3 -0
- data/proto_docs/google/cloud/run/v2/revision_template.rb +25 -21
- data/proto_docs/google/cloud/run/v2/service.rb +29 -20
- data/proto_docs/google/cloud/run/v2/status.rb +35 -0
- data/proto_docs/google/cloud/run/v2/task_template.rb +13 -12
- data/proto_docs/google/cloud/run/v2/vendor_settings.rb +34 -16
- metadata +4 -2
@@ -25,15 +25,14 @@ module Google
|
|
25
25
|
# a template.
|
26
26
|
# @!attribute [rw] revision
|
27
27
|
# @return [::String]
|
28
|
-
# The unique name for the revision. If this field is omitted, it
|
29
|
-
# automatically generated based on the Service name.
|
28
|
+
# Optional. The unique name for the revision. If this field is omitted, it
|
29
|
+
# will be automatically generated based on the Service name.
|
30
30
|
# @!attribute [rw] labels
|
31
31
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
32
|
-
# Unstructured key value map that can be used to organize and
|
33
|
-
# objects.
|
34
|
-
#
|
35
|
-
#
|
36
|
-
# environment, state, etc. For more information, visit
|
32
|
+
# Optional. Unstructured key value map that can be used to organize and
|
33
|
+
# categorize objects. User-provided labels are shared with Google's billing
|
34
|
+
# system, so they can be used to filter, or break down billing charges by
|
35
|
+
# team, component, environment, state, etc. For more information, visit
|
37
36
|
# https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
38
37
|
# https://cloud.google.com/run/docs/configuring/labels.
|
39
38
|
#
|
@@ -43,9 +42,9 @@ module Google
|
|
43
42
|
# corresponding field in v2 RevisionTemplate.
|
44
43
|
# @!attribute [rw] annotations
|
45
44
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
46
|
-
# Unstructured key value map that may be set by external tools to
|
47
|
-
# arbitrary metadata. They are not queryable and should be
|
48
|
-
# when modifying objects.
|
45
|
+
# Optional. Unstructured key value map that may be set by external tools to
|
46
|
+
# store and arbitrary metadata. They are not queryable and should be
|
47
|
+
# preserved when modifying objects.
|
49
48
|
#
|
50
49
|
# <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
|
51
50
|
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
@@ -56,19 +55,20 @@ module Google
|
|
56
55
|
# rules.
|
57
56
|
# @!attribute [rw] scaling
|
58
57
|
# @return [::Google::Cloud::Run::V2::RevisionScaling]
|
59
|
-
# Scaling settings for this Revision.
|
58
|
+
# Optional. Scaling settings for this Revision.
|
60
59
|
# @!attribute [rw] vpc_access
|
61
60
|
# @return [::Google::Cloud::Run::V2::VpcAccess]
|
62
|
-
# VPC Access configuration to use for this Revision. For more
|
63
|
-
# visit
|
61
|
+
# Optional. VPC Access configuration to use for this Revision. For more
|
62
|
+
# information, visit
|
63
|
+
# https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
64
64
|
# @!attribute [rw] timeout
|
65
65
|
# @return [::Google::Protobuf::Duration]
|
66
|
-
# Max allowed time for an instance to respond to a request.
|
66
|
+
# Optional. Max allowed time for an instance to respond to a request.
|
67
67
|
# @!attribute [rw] service_account
|
68
68
|
# @return [::String]
|
69
|
-
# Email address of the IAM service account associated with the
|
70
|
-
# the service. The service account represents the identity of the
|
71
|
-
# revision, and determines what permissions the revision has. If not
|
69
|
+
# Optional. Email address of the IAM service account associated with the
|
70
|
+
# revision of the service. The service account represents the identity of the
|
71
|
+
# running revision, and determines what permissions the revision has. If not
|
72
72
|
# provided, the revision will use the project's default service account.
|
73
73
|
# @!attribute [rw] containers
|
74
74
|
# @return [::Array<::Google::Cloud::Run::V2::Container>]
|
@@ -76,10 +76,10 @@ module Google
|
|
76
76
|
# Revision.
|
77
77
|
# @!attribute [rw] volumes
|
78
78
|
# @return [::Array<::Google::Cloud::Run::V2::Volume>]
|
79
|
-
# A list of Volumes to make available to containers.
|
79
|
+
# Optional. A list of Volumes to make available to containers.
|
80
80
|
# @!attribute [rw] execution_environment
|
81
81
|
# @return [::Google::Cloud::Run::V2::ExecutionEnvironment]
|
82
|
-
# The sandbox environment to host this Revision.
|
82
|
+
# Optional. The sandbox environment to host this Revision.
|
83
83
|
# @!attribute [rw] encryption_key
|
84
84
|
# @return [::String]
|
85
85
|
# A reference to a customer managed encryption key (CMEK) to use to encrypt
|
@@ -87,10 +87,14 @@ module Google
|
|
87
87
|
# https://cloud.google.com/run/docs/securing/using-cmek
|
88
88
|
# @!attribute [rw] max_instance_request_concurrency
|
89
89
|
# @return [::Integer]
|
90
|
-
# Sets the maximum number of requests that each serving instance
|
90
|
+
# Optional. Sets the maximum number of requests that each serving instance
|
91
|
+
# can receive.
|
91
92
|
# @!attribute [rw] session_affinity
|
92
93
|
# @return [::Boolean]
|
93
|
-
# Enable session affinity.
|
94
|
+
# Optional. Enable session affinity.
|
95
|
+
# @!attribute [rw] health_check_disabled
|
96
|
+
# @return [::Boolean]
|
97
|
+
# Optional. Disables health checking containers during deployment.
|
94
98
|
class RevisionTemplate
|
95
99
|
include ::Google::Protobuf::MessageExts
|
96
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -45,6 +45,9 @@ module Google
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# Request message for updating a service.
|
48
|
+
# @!attribute [rw] update_mask
|
49
|
+
# @return [::Google::Protobuf::FieldMask]
|
50
|
+
# Optional. The list of fields to be updated.
|
48
51
|
# @!attribute [rw] service
|
49
52
|
# @return [::Google::Cloud::Run::V2::Service]
|
50
53
|
# Required. The Service to be updated.
|
@@ -54,9 +57,9 @@ module Google
|
|
54
57
|
# populated, without persisting the request or updating any resources.
|
55
58
|
# @!attribute [rw] allow_missing
|
56
59
|
# @return [::Boolean]
|
57
|
-
# If set to true, and if the Service does not exist, it will create
|
58
|
-
# one. The caller must have 'run.services.create' permissions if this
|
59
|
-
# to true and the Service does not exist.
|
60
|
+
# Optional. If set to true, and if the Service does not exist, it will create
|
61
|
+
# a new one. The caller must have 'run.services.create' permissions if this
|
62
|
+
# is set to true and the Service does not exist.
|
60
63
|
class UpdateServiceRequest
|
61
64
|
include ::Google::Protobuf::MessageExts
|
62
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -157,11 +160,10 @@ module Google
|
|
157
160
|
# APIs, its JSON representation will be a `string` instead of an `integer`.
|
158
161
|
# @!attribute [rw] labels
|
159
162
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
160
|
-
# Unstructured key value map that can be used to organize and
|
161
|
-
# objects.
|
162
|
-
#
|
163
|
-
#
|
164
|
-
# environment, state, etc. For more information, visit
|
163
|
+
# Optional. Unstructured key value map that can be used to organize and
|
164
|
+
# categorize objects. User-provided labels are shared with Google's billing
|
165
|
+
# system, so they can be used to filter, or break down billing charges by
|
166
|
+
# team, component, environment, state, etc. For more information, visit
|
165
167
|
# https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
166
168
|
# https://cloud.google.com/run/docs/configuring/labels.
|
167
169
|
#
|
@@ -171,9 +173,9 @@ module Google
|
|
171
173
|
# corresponding field in v2 Service.
|
172
174
|
# @!attribute [rw] annotations
|
173
175
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
174
|
-
# Unstructured key value map that may be set by external tools to
|
175
|
-
# arbitrary metadata. They are not queryable and should be
|
176
|
-
# when modifying objects.
|
176
|
+
# Optional. Unstructured key value map that may be set by external tools to
|
177
|
+
# store and arbitrary metadata. They are not queryable and should be
|
178
|
+
# preserved when modifying objects.
|
177
179
|
#
|
178
180
|
# <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
|
179
181
|
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
@@ -190,7 +192,8 @@ module Google
|
|
190
192
|
# Output only. The last-modified time.
|
191
193
|
# @!attribute [r] delete_time
|
192
194
|
# @return [::Google::Protobuf::Timestamp]
|
193
|
-
# Output only. The deletion time.
|
195
|
+
# Output only. The deletion time. It is only populated as a response to a
|
196
|
+
# Delete request.
|
194
197
|
# @!attribute [r] expire_time
|
195
198
|
# @return [::Google::Protobuf::Timestamp]
|
196
199
|
# Output only. For a deleted resource, the time after which it will be
|
@@ -209,12 +212,12 @@ module Google
|
|
209
212
|
# Arbitrary version identifier for the API client.
|
210
213
|
# @!attribute [rw] ingress
|
211
214
|
# @return [::Google::Cloud::Run::V2::IngressTraffic]
|
212
|
-
# Provides the ingress settings for this Service. On output,
|
213
|
-
# currently observed ingress settings, or
|
214
|
-
# revision is active.
|
215
|
+
# Optional. Provides the ingress settings for this Service. On output,
|
216
|
+
# returns the currently observed ingress settings, or
|
217
|
+
# INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
|
215
218
|
# @!attribute [rw] launch_stage
|
216
219
|
# @return [::Google::Api::LaunchStage]
|
217
|
-
# The launch stage as defined by [Google Cloud Platform
|
220
|
+
# Optional. The launch stage as defined by [Google Cloud Platform
|
218
221
|
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
219
222
|
# Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA
|
220
223
|
# is assumed.
|
@@ -226,15 +229,21 @@ module Google
|
|
226
229
|
# features are used, this field will be BETA on output.
|
227
230
|
# @!attribute [rw] binary_authorization
|
228
231
|
# @return [::Google::Cloud::Run::V2::BinaryAuthorization]
|
229
|
-
# Settings for the Binary Authorization feature.
|
232
|
+
# Optional. Settings for the Binary Authorization feature.
|
230
233
|
# @!attribute [rw] template
|
231
234
|
# @return [::Google::Cloud::Run::V2::RevisionTemplate]
|
232
235
|
# Required. The template used to create revisions for this Service.
|
233
236
|
# @!attribute [rw] traffic
|
234
237
|
# @return [::Array<::Google::Cloud::Run::V2::TrafficTarget>]
|
235
|
-
# Specifies how to distribute traffic over a collection of
|
236
|
-
# belonging to the Service. If traffic is empty or not provided,
|
237
|
-
# 100% traffic to the latest `Ready` Revision.
|
238
|
+
# Optional. Specifies how to distribute traffic over a collection of
|
239
|
+
# Revisions belonging to the Service. If traffic is empty or not provided,
|
240
|
+
# defaults to 100% traffic to the latest `Ready` Revision.
|
241
|
+
# @!attribute [rw] scaling
|
242
|
+
# @return [::Google::Cloud::Run::V2::ServiceScaling]
|
243
|
+
# Optional. Specifies service-level scaling settings
|
244
|
+
# @!attribute [rw] default_uri_disabled
|
245
|
+
# @return [::Boolean]
|
246
|
+
# Optional. Disables public resolution of the default URI of this service.
|
238
247
|
# @!attribute [r] observed_generation
|
239
248
|
# @return [::Integer]
|
240
249
|
# Output only. The generation of this Service currently serving traffic. See
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Run
|
23
|
+
module V2
|
24
|
+
# Effective settings for the current revision
|
25
|
+
# @!attribute [rw] desired_min_instance_count
|
26
|
+
# @return [::Integer]
|
27
|
+
# The current number of min instances provisioned for this revision.
|
28
|
+
class RevisionScalingStatus
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -29,26 +29,26 @@ module Google
|
|
29
29
|
# task.
|
30
30
|
# @!attribute [rw] volumes
|
31
31
|
# @return [::Array<::Google::Cloud::Run::V2::Volume>]
|
32
|
-
# A list of Volumes to make available to containers.
|
32
|
+
# Optional. A list of Volumes to make available to containers.
|
33
33
|
# @!attribute [rw] max_retries
|
34
34
|
# @return [::Integer]
|
35
35
|
# Number of retries allowed per Task, before marking this Task failed.
|
36
36
|
# Defaults to 3.
|
37
37
|
# @!attribute [rw] timeout
|
38
38
|
# @return [::Google::Protobuf::Duration]
|
39
|
-
# Max allowed time duration the Task may be active before the
|
40
|
-
# actively try to mark it failed and kill associated containers.
|
41
|
-
# per attempt of a task, meaning each retry can run for the full
|
42
|
-
# Defaults to 600 seconds.
|
39
|
+
# Optional. Max allowed time duration the Task may be active before the
|
40
|
+
# system will actively try to mark it failed and kill associated containers.
|
41
|
+
# This applies per attempt of a task, meaning each retry can run for the full
|
42
|
+
# timeout. Defaults to 600 seconds.
|
43
43
|
# @!attribute [rw] service_account
|
44
44
|
# @return [::String]
|
45
|
-
# Email address of the IAM service account associated with the Task
|
46
|
-
# Job. The service account represents the identity of the
|
47
|
-
#
|
48
|
-
#
|
45
|
+
# Optional. Email address of the IAM service account associated with the Task
|
46
|
+
# of a Job. The service account represents the identity of the running task,
|
47
|
+
# and determines what permissions the task has. If not provided, the task
|
48
|
+
# will use the project's default service account.
|
49
49
|
# @!attribute [rw] execution_environment
|
50
50
|
# @return [::Google::Cloud::Run::V2::ExecutionEnvironment]
|
51
|
-
# The execution environment being used to host this Task.
|
51
|
+
# Optional. The execution environment being used to host this Task.
|
52
52
|
# @!attribute [rw] encryption_key
|
53
53
|
# @return [::String]
|
54
54
|
# A reference to a customer managed encryption key (CMEK) to use to encrypt
|
@@ -56,8 +56,9 @@ module Google
|
|
56
56
|
# https://cloud.google.com/run/docs/securing/using-cmek
|
57
57
|
# @!attribute [rw] vpc_access
|
58
58
|
# @return [::Google::Cloud::Run::V2::VpcAccess]
|
59
|
-
# VPC Access configuration to use for this Task. For more
|
60
|
-
# visit
|
59
|
+
# Optional. VPC Access configuration to use for this Task. For more
|
60
|
+
# information, visit
|
61
|
+
# https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
61
62
|
class TaskTemplate
|
62
63
|
include ::Google::Protobuf::MessageExts
|
63
64
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -32,12 +32,12 @@ module Google
|
|
32
32
|
# visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
|
33
33
|
# @!attribute [rw] egress
|
34
34
|
# @return [::Google::Cloud::Run::V2::VpcAccess::VpcEgress]
|
35
|
-
# Traffic VPC egress settings. If not provided, it defaults to
|
35
|
+
# Optional. Traffic VPC egress settings. If not provided, it defaults to
|
36
36
|
# PRIVATE_RANGES_ONLY.
|
37
37
|
# @!attribute [rw] network_interfaces
|
38
38
|
# @return [::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>]
|
39
|
-
# Direct VPC egress settings. Currently only single network
|
40
|
-
# supported.
|
39
|
+
# Optional. Direct VPC egress settings. Currently only single network
|
40
|
+
# interface is supported.
|
41
41
|
class VpcAccess
|
42
42
|
include ::Google::Protobuf::MessageExts
|
43
43
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -45,21 +45,21 @@ module Google
|
|
45
45
|
# Direct VPC egress settings.
|
46
46
|
# @!attribute [rw] network
|
47
47
|
# @return [::String]
|
48
|
-
# The VPC network that the Cloud Run resource will be able to
|
49
|
-
# to. At least one of network or subnetwork must be specified.
|
50
|
-
# network and subnetwork are specified, the given VPC subnetwork
|
51
|
-
# belong to the given VPC network. If network is not specified, it
|
52
|
-
# looked up from the subnetwork.
|
48
|
+
# Optional. The VPC network that the Cloud Run resource will be able to
|
49
|
+
# send traffic to. At least one of network or subnetwork must be specified.
|
50
|
+
# If both network and subnetwork are specified, the given VPC subnetwork
|
51
|
+
# must belong to the given VPC network. If network is not specified, it
|
52
|
+
# will be looked up from the subnetwork.
|
53
53
|
# @!attribute [rw] subnetwork
|
54
54
|
# @return [::String]
|
55
|
-
# The VPC subnetwork that the Cloud Run resource will get IPs
|
56
|
-
# least one of network or subnetwork must be specified. If both
|
55
|
+
# Optional. The VPC subnetwork that the Cloud Run resource will get IPs
|
56
|
+
# from. At least one of network or subnetwork must be specified. If both
|
57
57
|
# network and subnetwork are specified, the given VPC subnetwork must
|
58
58
|
# belong to the given VPC network. If subnetwork is not specified, the
|
59
59
|
# subnetwork with the same name with the network will be used.
|
60
60
|
# @!attribute [rw] tags
|
61
61
|
# @return [::Array<::String>]
|
62
|
-
# Network tags applied to this Cloud Run resource.
|
62
|
+
# Optional. Network tags applied to this Cloud Run resource.
|
63
63
|
class NetworkInterface
|
64
64
|
include ::Google::Protobuf::MessageExts
|
65
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -81,11 +81,15 @@ module Google
|
|
81
81
|
# Settings for Binary Authorization feature.
|
82
82
|
# @!attribute [rw] use_default
|
83
83
|
# @return [::Boolean]
|
84
|
-
# If True, indicates to use the default project's binary
|
85
|
-
# policy. If False, binary authorization will be disabled.
|
84
|
+
# Optional. If True, indicates to use the default project's binary
|
85
|
+
# authorization policy. If False, binary authorization will be disabled.
|
86
|
+
# @!attribute [rw] policy
|
87
|
+
# @return [::String]
|
88
|
+
# Optional. The path to a binary authorization policy.
|
89
|
+
# Format: projects/\\{project}/platforms/cloudRun/\\{policy-name}
|
86
90
|
# @!attribute [rw] breakglass_justification
|
87
91
|
# @return [::String]
|
88
|
-
# If present, indicates to use Breakglass using this justification.
|
92
|
+
# Optional. If present, indicates to use Breakglass using this justification.
|
89
93
|
# If use_default is False, then it must be empty.
|
90
94
|
# For more information on breakglass, see
|
91
95
|
# https://cloud.google.com/binary-authorization/docs/using-breakglass
|
@@ -97,15 +101,29 @@ module Google
|
|
97
101
|
# Settings for revision-level scaling settings.
|
98
102
|
# @!attribute [rw] min_instance_count
|
99
103
|
# @return [::Integer]
|
100
|
-
# Minimum number of serving instances that this resource should
|
104
|
+
# Optional. Minimum number of serving instances that this resource should
|
105
|
+
# have.
|
101
106
|
# @!attribute [rw] max_instance_count
|
102
107
|
# @return [::Integer]
|
103
|
-
# Maximum number of serving instances that this resource should
|
108
|
+
# Optional. Maximum number of serving instances that this resource should
|
109
|
+
# have.
|
104
110
|
class RevisionScaling
|
105
111
|
include ::Google::Protobuf::MessageExts
|
106
112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
113
|
end
|
108
114
|
|
115
|
+
# Scaling settings applied at the service level rather than
|
116
|
+
# at the revision level.
|
117
|
+
# @!attribute [rw] min_instance_count
|
118
|
+
# @return [::Integer]
|
119
|
+
# Optional. total min instances for the service. This number of instances is
|
120
|
+
# divided among all revisions with specified traffic based on the percent
|
121
|
+
# of traffic they are receiving. (BETA)
|
122
|
+
class ServiceScaling
|
123
|
+
include ::Google::Protobuf::MessageExts
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
|
+
end
|
126
|
+
|
109
127
|
# Allowed ingress traffic for the Container.
|
110
128
|
module IngressTraffic
|
111
129
|
# Unspecified
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-run-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -142,6 +142,7 @@ files:
|
|
142
142
|
- lib/google/cloud/run/v2/services/rest/client.rb
|
143
143
|
- lib/google/cloud/run/v2/services/rest/operations.rb
|
144
144
|
- lib/google/cloud/run/v2/services/rest/service_stub.rb
|
145
|
+
- lib/google/cloud/run/v2/status_pb.rb
|
145
146
|
- lib/google/cloud/run/v2/task_pb.rb
|
146
147
|
- lib/google/cloud/run/v2/task_services_pb.rb
|
147
148
|
- lib/google/cloud/run/v2/task_template_pb.rb
|
@@ -169,6 +170,7 @@ files:
|
|
169
170
|
- proto_docs/google/cloud/run/v2/revision.rb
|
170
171
|
- proto_docs/google/cloud/run/v2/revision_template.rb
|
171
172
|
- proto_docs/google/cloud/run/v2/service.rb
|
173
|
+
- proto_docs/google/cloud/run/v2/status.rb
|
172
174
|
- proto_docs/google/cloud/run/v2/task.rb
|
173
175
|
- proto_docs/google/cloud/run/v2/task_template.rb
|
174
176
|
- proto_docs/google/cloud/run/v2/traffic_target.rb
|