google-cloud-run-v2 0.16.1 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,8 @@ module Google
26
26
  # @!attribute [rw] connector
27
27
  # @return [::String]
28
28
  # VPC Access connector name.
29
- # Format: projects/\\{project}/locations/\\{location}/connectors/\\{connector},
30
- # where \\{project} can be project id or number.
29
+ # Format: `projects/{project}/locations/{location}/connectors/{connector}`,
30
+ # where `{project}` can be project id or number.
31
31
  # For more information on sending traffic to a VPC network via a connector,
32
32
  # visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
33
33
  # @!attribute [rw] egress
@@ -86,7 +86,7 @@ module Google
86
86
  # @!attribute [rw] policy
87
87
  # @return [::String]
88
88
  # Optional. The path to a binary authorization policy.
89
- # Format: projects/\\{project}/platforms/cloudRun/\\{policy-name}
89
+ # Format: `projects/{project}/platforms/cloudRun/{policy-name}`
90
90
  # @!attribute [rw] breakglass_justification
91
91
  # @return [::String]
92
92
  # Optional. If present, indicates to use Breakglass using this justification.
@@ -106,22 +106,61 @@ module Google
106
106
  # @!attribute [rw] max_instance_count
107
107
  # @return [::Integer]
108
108
  # Optional. Maximum number of serving instances that this resource should
109
- # have.
109
+ # have. When unspecified, the field is set to the server default value of
110
+ # 100. For more information see
111
+ # https://cloud.google.com/run/docs/configuring/max-instances
110
112
  class RevisionScaling
111
113
  include ::Google::Protobuf::MessageExts
112
114
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
115
  end
114
116
 
117
+ # Settings for Cloud Service Mesh. For more information see
118
+ # https://cloud.google.com/service-mesh/docs/overview.
119
+ # @!attribute [rw] mesh
120
+ # @return [::String]
121
+ # The Mesh resource name. Format:
122
+ # `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
123
+ # be project id or number.
124
+ class ServiceMesh
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
115
129
  # Scaling settings applied at the service level rather than
116
130
  # at the revision level.
117
131
  # @!attribute [rw] min_instance_count
118
132
  # @return [::Integer]
119
133
  # Optional. total min instances for the service. This number of instances is
120
134
  # divided among all revisions with specified traffic based on the percent
121
- # of traffic they are receiving. (BETA)
135
+ # of traffic they are receiving.
136
+ # @!attribute [rw] scaling_mode
137
+ # @return [::Google::Cloud::Run::V2::ServiceScaling::ScalingMode]
138
+ # Optional. The scaling mode for the service.
122
139
  class ServiceScaling
123
140
  include ::Google::Protobuf::MessageExts
124
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
142
+
143
+ # The scaling mode for the service. If not provided, it defaults to
144
+ # AUTOMATIC.
145
+ module ScalingMode
146
+ # Unspecified.
147
+ SCALING_MODE_UNSPECIFIED = 0
148
+
149
+ # Scale based on traffic between min and max instances.
150
+ AUTOMATIC = 1
151
+
152
+ # Scale to exactly min instances and ignore max instances.
153
+ MANUAL = 2
154
+ end
155
+ end
156
+
157
+ # Hardware constraints configuration.
158
+ # @!attribute [rw] accelerator
159
+ # @return [::String]
160
+ # Required. GPU accelerator type to attach to an instance.
161
+ class NodeSelector
162
+ include ::Google::Protobuf::MessageExts
163
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
164
  end
126
165
 
127
166
  # Allowed ingress traffic for the Container.
@@ -137,6 +176,9 @@ module Google
137
176
 
138
177
  # Both internal and Google Cloud Load Balancer traffic is allowed.
139
178
  INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3
179
+
180
+ # No ingress traffic is allowed.
181
+ INGRESS_TRAFFIC_NONE = 4
140
182
  end
141
183
 
142
184
  # Alternatives for execution environments.
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.16.1
4
+ version: 0.17.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-08-30 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -93,6 +93,15 @@ files:
93
93
  - README.md
94
94
  - lib/google-cloud-run-v2.rb
95
95
  - lib/google/cloud/run/v2.rb
96
+ - lib/google/cloud/run/v2/build_pb.rb
97
+ - lib/google/cloud/run/v2/build_services_pb.rb
98
+ - lib/google/cloud/run/v2/builds.rb
99
+ - lib/google/cloud/run/v2/builds/client.rb
100
+ - lib/google/cloud/run/v2/builds/credentials.rb
101
+ - lib/google/cloud/run/v2/builds/paths.rb
102
+ - lib/google/cloud/run/v2/builds/rest.rb
103
+ - lib/google/cloud/run/v2/builds/rest/client.rb
104
+ - lib/google/cloud/run/v2/builds/rest/service_stub.rb
96
105
  - lib/google/cloud/run/v2/condition_pb.rb
97
106
  - lib/google/cloud/run/v2/execution_pb.rb
98
107
  - lib/google/cloud/run/v2/execution_services_pb.rb
@@ -162,6 +171,7 @@ files:
162
171
  - proto_docs/google/api/launch_stage.rb
163
172
  - proto_docs/google/api/resource.rb
164
173
  - proto_docs/google/api/routing.rb
174
+ - proto_docs/google/cloud/run/v2/build.rb
165
175
  - proto_docs/google/cloud/run/v2/condition.rb
166
176
  - proto_docs/google/cloud/run/v2/execution.rb
167
177
  - proto_docs/google/cloud/run/v2/execution_template.rb
@@ -205,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
215
  - !ruby/object:Gem::Version
206
216
  version: '0'
207
217
  requirements: []
208
- rubygems_version: 3.5.6
218
+ rubygems_version: 3.5.21
209
219
  signing_key:
210
220
  specification_version: 4
211
221
  summary: Deploy and manage user provided container images that scale automatically