google-cloud-run-v2 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/run/v2/condition_pb.rb +1 -0
- data/lib/google/cloud/run/v2/execution_pb.rb +3 -0
- data/lib/google/cloud/run/v2/executions/client.rb +8 -10
- data/lib/google/cloud/run/v2/executions/operations.rb +20 -14
- data/lib/google/cloud/run/v2/executions/rest/client.rb +533 -0
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +935 -0
- data/lib/google/cloud/run/v2/executions/rest/service_stub.rb +225 -0
- data/lib/google/cloud/run/v2/executions/rest.rb +53 -0
- data/lib/google/cloud/run/v2/executions.rb +7 -1
- data/lib/google/cloud/run/v2/job_pb.rb +1 -0
- data/lib/google/cloud/run/v2/jobs/client.rb +20 -22
- data/lib/google/cloud/run/v2/jobs/operations.rb +20 -14
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +998 -0
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +935 -0
- data/lib/google/cloud/run/v2/jobs/rest/service_stub.rb +584 -0
- data/lib/google/cloud/run/v2/jobs/rest.rb +53 -0
- data/lib/google/cloud/run/v2/jobs.rb +7 -1
- data/lib/google/cloud/run/v2/rest.rb +41 -0
- data/lib/google/cloud/run/v2/revision_pb.rb +2 -0
- data/lib/google/cloud/run/v2/revisions/client.rb +8 -10
- data/lib/google/cloud/run/v2/revisions/operations.rb +20 -14
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +531 -0
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +935 -0
- data/lib/google/cloud/run/v2/revisions/rest/service_stub.rb +225 -0
- data/lib/google/cloud/run/v2/revisions/rest.rb +53 -0
- data/lib/google/cloud/run/v2/revisions.rb +7 -1
- data/lib/google/cloud/run/v2/services/client.rb +19 -21
- data/lib/google/cloud/run/v2/services/operations.rb +20 -14
- data/lib/google/cloud/run/v2/services/rest/client.rb +940 -0
- data/lib/google/cloud/run/v2/services/rest/operations.rb +935 -0
- data/lib/google/cloud/run/v2/services/rest/service_stub.rb +524 -0
- data/lib/google/cloud/run/v2/services/rest.rb +53 -0
- data/lib/google/cloud/run/v2/services.rb +7 -1
- data/lib/google/cloud/run/v2/task_pb.rb +1 -0
- data/lib/google/cloud/run/v2/tasks/client.rb +4 -6
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +440 -0
- data/lib/google/cloud/run/v2/tasks/rest/service_stub.rb +166 -0
- data/lib/google/cloud/run/v2/tasks/rest.rb +52 -0
- data/lib/google/cloud/run/v2/tasks.rb +7 -1
- data/lib/google/cloud/run/v2/vendor_settings_pb.rb +6 -0
- data/lib/google/cloud/run/v2/version.rb +1 -1
- data/lib/google/cloud/run/v2.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +3 -3
- data/proto_docs/google/cloud/run/v2/condition.rb +4 -0
- data/proto_docs/google/cloud/run/v2/execution.rb +30 -20
- data/proto_docs/google/cloud/run/v2/execution_template.rb +12 -1
- data/proto_docs/google/cloud/run/v2/job.rb +29 -21
- data/proto_docs/google/cloud/run/v2/k8s.min.rb +13 -8
- data/proto_docs/google/cloud/run/v2/revision.rb +19 -13
- data/proto_docs/google/cloud/run/v2/revision_template.rb +10 -0
- data/proto_docs/google/cloud/run/v2/service.rb +44 -34
- data/proto_docs/google/cloud/run/v2/task.rb +21 -18
- data/proto_docs/google/cloud/run/v2/vendor_settings.rb +12 -0
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +34 -10
@@ -28,11 +28,13 @@ module Google
|
|
28
28
|
# at runtime.
|
29
29
|
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
31
|
-
# Name of the container specified as a DNS_LABEL.
|
31
|
+
# Name of the container specified as a DNS_LABEL (RFC 1123).
|
32
32
|
# @!attribute [rw] image
|
33
33
|
# @return [::String]
|
34
|
-
# Required.
|
35
|
-
# Registry.
|
34
|
+
# Required. Name of the container image in Dockerhub, Google Artifact
|
35
|
+
# Registry, or Google Container Registry. If the host is not provided,
|
36
|
+
# Dockerhub is assumed. More info:
|
37
|
+
# https://kubernetes.io/docs/concepts/containers/images
|
36
38
|
# @!attribute [rw] command
|
37
39
|
# @return [::Array<::String>]
|
38
40
|
# Entrypoint array. Not executed within a shell.
|
@@ -126,8 +128,8 @@ module Google
|
|
126
128
|
# EnvVar represents an environment variable present in a Container.
|
127
129
|
# @!attribute [rw] name
|
128
130
|
# @return [::String]
|
129
|
-
# Required. Name of the environment variable. Must be a C_IDENTIFIER, and
|
130
|
-
# exceed 32768 characters.
|
131
|
+
# Required. Name of the environment variable. Must be a C_IDENTIFIER, and
|
132
|
+
# mnay not exceed 32768 characters.
|
131
133
|
# @!attribute [rw] value
|
132
134
|
# @return [::String]
|
133
135
|
# Variable references $(VAR_NAME) are expanded
|
@@ -192,8 +194,8 @@ module Google
|
|
192
194
|
# Required. This must match the Name of a Volume.
|
193
195
|
# @!attribute [rw] mount_path
|
194
196
|
# @return [::String]
|
195
|
-
# Required. Path within the container at which the volume should be mounted.
|
196
|
-
# not contain ':'. For Cloud SQL volumes, it can be left empty, or must
|
197
|
+
# Required. Path within the container at which the volume should be mounted.
|
198
|
+
# Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
|
197
199
|
# otherwise be `/cloudsql`. All instances defined in the Volume will be
|
198
200
|
# available as `/cloudsql/[instance]`. For more information on Cloud SQL
|
199
201
|
# volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
|
@@ -293,7 +295,10 @@ module Google
|
|
293
295
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
294
296
|
end
|
295
297
|
|
296
|
-
# Represents a
|
298
|
+
# Represents a set of Cloud SQL instances. Each one will be available under
|
299
|
+
# /cloudsql/[instance]. Visit
|
300
|
+
# https://cloud.google.com/sql/docs/mysql/connect-run for more information on
|
301
|
+
# how to connect Cloud SQL and Cloud Run.
|
297
302
|
# @!attribute [rw] instances
|
298
303
|
# @return [::Array<::String>]
|
299
304
|
# The Cloud SQL instance connection names, as can be found in
|
@@ -96,8 +96,9 @@ module Google
|
|
96
96
|
# Output only. The unique name of this Revision.
|
97
97
|
# @!attribute [r] uid
|
98
98
|
# @return [::String]
|
99
|
-
# Output only. Server assigned unique identifier for the Revision. The value
|
100
|
-
# string and guaranteed to remain unchanged until the resource is
|
99
|
+
# Output only. Server assigned unique identifier for the Revision. The value
|
100
|
+
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
101
|
+
# deleted.
|
101
102
|
# @!attribute [r] generation
|
102
103
|
# @return [::Integer]
|
103
104
|
# Output only. A number that monotonically increases every time the user
|
@@ -110,9 +111,6 @@ module Google
|
|
110
111
|
# environment, state, etc. For more information, visit
|
111
112
|
# https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
112
113
|
# https://cloud.google.com/run/docs/configuring/labels
|
113
|
-
# Cloud Run will populate some labels with 'run.googleapis.com' or
|
114
|
-
# 'serving.knative.dev' namespaces. Those labels are read-only, and user
|
115
|
-
# changes will not be preserved.
|
116
114
|
# @!attribute [rw] annotations
|
117
115
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
118
116
|
# KRM-style annotations for the resource.
|
@@ -173,20 +171,28 @@ module Google
|
|
173
171
|
# A reference to a customer managed encryption key (CMEK) to use to encrypt
|
174
172
|
# this container image. For more information, go to
|
175
173
|
# https://cloud.google.com/run/docs/securing/using-cmek
|
174
|
+
# @!attribute [rw] encryption_key_revocation_action
|
175
|
+
# @return [::Google::Cloud::Run::V2::EncryptionKeyRevocationAction]
|
176
|
+
# The action to take if the encryption key is revoked.
|
177
|
+
# @!attribute [rw] encryption_key_shutdown_duration
|
178
|
+
# @return [::Google::Protobuf::Duration]
|
179
|
+
# If encryption_key_revocation_action is SHUTDOWN, the duration before
|
180
|
+
# shutting down all instances. The minimum increment is 1 hour.
|
176
181
|
# @!attribute [r] reconciling
|
177
182
|
# @return [::Boolean]
|
178
|
-
# Output only. Indicates whether the resource's reconciliation is still in
|
179
|
-
# See comments in `Service.reconciling` for additional information
|
180
|
-
# reconciliation process in Cloud Run.
|
183
|
+
# Output only. Indicates whether the resource's reconciliation is still in
|
184
|
+
# progress. See comments in `Service.reconciling` for additional information
|
185
|
+
# on reconciliation process in Cloud Run.
|
181
186
|
# @!attribute [r] conditions
|
182
187
|
# @return [::Array<::Google::Cloud::Run::V2::Condition>]
|
183
|
-
# Output only. The Condition of this Revision, containing its readiness
|
184
|
-
# detailed error information in case it did not reach a serving
|
188
|
+
# Output only. The Condition of this Revision, containing its readiness
|
189
|
+
# status, and detailed error information in case it did not reach a serving
|
190
|
+
# state.
|
185
191
|
# @!attribute [r] observed_generation
|
186
192
|
# @return [::Integer]
|
187
|
-
# Output only. The generation of this Revision currently serving traffic. See
|
188
|
-
# `reconciling` for additional information on reconciliation
|
189
|
-
# Run.
|
193
|
+
# Output only. The generation of this Revision currently serving traffic. See
|
194
|
+
# comments in `reconciling` for additional information on reconciliation
|
195
|
+
# process in Cloud Run.
|
190
196
|
# @!attribute [r] log_uri
|
191
197
|
# @return [::String]
|
192
198
|
# Output only. The Google Console URI to obtain logs for the Revision.
|
@@ -30,9 +30,19 @@ module Google
|
|
30
30
|
# @!attribute [rw] labels
|
31
31
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
32
32
|
# KRM-style labels for the resource.
|
33
|
+
#
|
34
|
+
# <p>Cloud Run API v2 does not support labels with `run.googleapis.com`,
|
35
|
+
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
36
|
+
# namespaces, and they will be rejected. All system labels in v1 now have a
|
37
|
+
# corresponding field in v2 RevisionTemplate.
|
33
38
|
# @!attribute [rw] annotations
|
34
39
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
35
40
|
# KRM-style annotations for the resource.
|
41
|
+
#
|
42
|
+
# <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
|
43
|
+
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
44
|
+
# namespaces, and they will be rejected. All system annotations in v1 now
|
45
|
+
# have a corresponding field in v2 RevisionTemplate.
|
36
46
|
# @!attribute [rw] scaling
|
37
47
|
# @return [::Google::Cloud::Run::V2::RevisionScaling]
|
38
48
|
# Scaling settings for this Revision.
|
@@ -66,9 +66,9 @@ module Google
|
|
66
66
|
# @!attribute [rw] parent
|
67
67
|
# @return [::String]
|
68
68
|
# Required. The location and project to list resources on.
|
69
|
-
# Location must be a valid
|
70
|
-
# Format: projects/\\{project}/locations/\\{location}, where \\{project}
|
71
|
-
# project id or number.
|
69
|
+
# Location must be a valid Google Cloud region, and cannot be the "-"
|
70
|
+
# wildcard. Format: projects/\\{project}/locations/\\{location}, where \\{project}
|
71
|
+
# can be project id or number.
|
72
72
|
# @!attribute [rw] page_size
|
73
73
|
# @return [::Integer]
|
74
74
|
# Maximum number of Services to return in this call.
|
@@ -146,8 +146,9 @@ module Google
|
|
146
146
|
# 512-character limit.
|
147
147
|
# @!attribute [r] uid
|
148
148
|
# @return [::String]
|
149
|
-
# Output only. Server assigned unique identifier for the trigger. The value
|
150
|
-
# string and guaranteed to remain unchanged until the resource is
|
149
|
+
# Output only. Server assigned unique identifier for the trigger. The value
|
150
|
+
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
151
|
+
# deleted.
|
151
152
|
# @!attribute [r] generation
|
152
153
|
# @return [::Integer]
|
153
154
|
# Output only. A number that monotonically increases every time the user
|
@@ -163,16 +164,24 @@ module Google
|
|
163
164
|
# environment, state, etc. For more information, visit
|
164
165
|
# https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
165
166
|
# https://cloud.google.com/run/docs/configuring/labels
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
167
|
+
#
|
168
|
+
# <p>Cloud Run API v2 does not support labels with `run.googleapis.com`,
|
169
|
+
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
170
|
+
# namespaces, and they will be rejected. All system labels in v1 now have a
|
171
|
+
# corresponding field in v2 Service.
|
169
172
|
# @!attribute [rw] annotations
|
170
173
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
171
174
|
# Unstructured key value map that may be set by external tools to store and
|
172
175
|
# arbitrary metadata. They are not queryable and should be preserved
|
173
|
-
# when modifying objects.
|
174
|
-
#
|
175
|
-
#
|
176
|
+
# when modifying objects.
|
177
|
+
#
|
178
|
+
# <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`,
|
179
|
+
# `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev`
|
180
|
+
# namespaces, and they will be rejected. All system annotations in v1 now
|
181
|
+
# have a corresponding field in v2 Service.
|
182
|
+
#
|
183
|
+
# <p>This field follows Kubernetes
|
184
|
+
# annotations' namespacing, limits, and rules. More info:
|
176
185
|
# https://kubernetes.io/docs/user-guide/annotations
|
177
186
|
# @!attribute [r] create_time
|
178
187
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -223,44 +232,45 @@ module Google
|
|
223
232
|
# 100% traffic to the latest `Ready` Revision.
|
224
233
|
# @!attribute [r] observed_generation
|
225
234
|
# @return [::Integer]
|
226
|
-
# Output only. The generation of this Service currently serving traffic. See
|
227
|
-
# `reconciling` for additional information on reconciliation
|
228
|
-
# Run.
|
229
|
-
#
|
230
|
-
#
|
235
|
+
# Output only. The generation of this Service currently serving traffic. See
|
236
|
+
# comments in `reconciling` for additional information on reconciliation
|
237
|
+
# process in Cloud Run. Please note that unlike v1, this is an int64 value.
|
238
|
+
# As with most Google APIs, its JSON representation will be a `string`
|
239
|
+
# instead of an `integer`.
|
231
240
|
# @!attribute [r] terminal_condition
|
232
241
|
# @return [::Google::Cloud::Run::V2::Condition]
|
233
|
-
# Output only. The Condition of this Service, containing its readiness
|
234
|
-
# detailed error information in case it did not reach a serving
|
235
|
-
# comments in `reconciling` for additional information on
|
236
|
-
# process in Cloud Run.
|
242
|
+
# Output only. The Condition of this Service, containing its readiness
|
243
|
+
# status, and detailed error information in case it did not reach a serving
|
244
|
+
# state. See comments in `reconciling` for additional information on
|
245
|
+
# reconciliation process in Cloud Run.
|
237
246
|
# @!attribute [r] conditions
|
238
247
|
# @return [::Array<::Google::Cloud::Run::V2::Condition>]
|
239
|
-
# Output only. The Conditions of all other associated sub-resources. They
|
240
|
-
# additional diagnostics information in case the Service does not
|
241
|
-
# Serving state. See comments in `reconciling` for additional
|
242
|
-
# reconciliation process in Cloud Run.
|
248
|
+
# Output only. The Conditions of all other associated sub-resources. They
|
249
|
+
# contain additional diagnostics information in case the Service does not
|
250
|
+
# reach its Serving state. See comments in `reconciling` for additional
|
251
|
+
# information on reconciliation process in Cloud Run.
|
243
252
|
# @!attribute [r] latest_ready_revision
|
244
253
|
# @return [::String]
|
245
|
-
# Output only. Name of the latest revision that is serving traffic. See
|
246
|
-
# `reconciling` for additional information on reconciliation
|
247
|
-
# Run.
|
254
|
+
# Output only. Name of the latest revision that is serving traffic. See
|
255
|
+
# comments in `reconciling` for additional information on reconciliation
|
256
|
+
# process in Cloud Run.
|
248
257
|
# @!attribute [r] latest_created_revision
|
249
258
|
# @return [::String]
|
250
|
-
# Output only. Name of the last created revision. See comments in
|
251
|
-
# additional information on reconciliation process in Cloud
|
259
|
+
# Output only. Name of the last created revision. See comments in
|
260
|
+
# `reconciling` for additional information on reconciliation process in Cloud
|
261
|
+
# Run.
|
252
262
|
# @!attribute [r] traffic_statuses
|
253
263
|
# @return [::Array<::Google::Cloud::Run::V2::TrafficTargetStatus>]
|
254
|
-
# Output only. Detailed status information for corresponding traffic targets.
|
255
|
-
# in `reconciling` for additional information on reconciliation
|
256
|
-
# Cloud Run.
|
264
|
+
# Output only. Detailed status information for corresponding traffic targets.
|
265
|
+
# See comments in `reconciling` for additional information on reconciliation
|
266
|
+
# process in Cloud Run.
|
257
267
|
# @!attribute [r] uri
|
258
268
|
# @return [::String]
|
259
269
|
# Output only. The main URI in which this Service is serving traffic.
|
260
270
|
# @!attribute [r] reconciling
|
261
271
|
# @return [::Boolean]
|
262
|
-
# Output only. Returns true if the Service is currently being acted upon by
|
263
|
-
# bring it into the desired state.
|
272
|
+
# Output only. Returns true if the Service is currently being acted upon by
|
273
|
+
# the system to bring it into the desired state.
|
264
274
|
#
|
265
275
|
# When a new Service is created, or an existing one is updated, Cloud Run
|
266
276
|
# will asynchronously perform all necessary steps to bring the Service to the
|
@@ -73,8 +73,9 @@ module Google
|
|
73
73
|
# Output only. The unique name of this Task.
|
74
74
|
# @!attribute [r] uid
|
75
75
|
# @return [::String]
|
76
|
-
# Output only. Server assigned unique identifier for the Task. The value is a
|
77
|
-
# string and guaranteed to remain unchanged until the resource is
|
76
|
+
# Output only. Server assigned unique identifier for the Task. The value is a
|
77
|
+
# UUID4 string and guaranteed to remain unchanged until the resource is
|
78
|
+
# deleted.
|
78
79
|
# @!attribute [r] generation
|
79
80
|
# @return [::Integer]
|
80
81
|
# Output only. A number that monotonically increases every time the user
|
@@ -87,17 +88,14 @@ module Google
|
|
87
88
|
# environment, state, etc. For more information, visit
|
88
89
|
# https://cloud.google.com/resource-manager/docs/creating-managing-labels or
|
89
90
|
# https://cloud.google.com/run/docs/configuring/labels
|
90
|
-
# Cloud Run will populate some labels with 'run.googleapis.com' or
|
91
|
-
# 'serving.knative.dev' namespaces. Those labels are read-only, and user
|
92
|
-
# changes will not be preserved.
|
93
91
|
# @!attribute [rw] annotations
|
94
92
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
95
93
|
# KRM-style annotations for the resource.
|
96
94
|
# @!attribute [r] create_time
|
97
95
|
# @return [::Google::Protobuf::Timestamp]
|
98
|
-
# Output only. Represents time when the task was created by the job
|
99
|
-
# It is not guaranteed to be set in happens-before order across
|
100
|
-
# operations.
|
96
|
+
# Output only. Represents time when the task was created by the job
|
97
|
+
# controller. It is not guaranteed to be set in happens-before order across
|
98
|
+
# separate operations.
|
101
99
|
# @!attribute [r] start_time
|
102
100
|
# @return [::Google::Protobuf::Timestamp]
|
103
101
|
# Output only. Represents time when the task started to run.
|
@@ -105,8 +103,8 @@ module Google
|
|
105
103
|
# operations.
|
106
104
|
# @!attribute [r] completion_time
|
107
105
|
# @return [::Google::Protobuf::Timestamp]
|
108
|
-
# Output only. Represents time when the Task was completed. It is not
|
109
|
-
# be set in happens-before order across separate operations.
|
106
|
+
# Output only. Represents time when the Task was completed. It is not
|
107
|
+
# guaranteed to be set in happens-before order across separate operations.
|
110
108
|
# @!attribute [r] update_time
|
111
109
|
# @return [::Google::Protobuf::Timestamp]
|
112
110
|
# Output only. The last-modified time.
|
@@ -151,13 +149,13 @@ module Google
|
|
151
149
|
# The execution environment being used to host this Task.
|
152
150
|
# @!attribute [r] reconciling
|
153
151
|
# @return [::Boolean]
|
154
|
-
# Output only. Indicates whether the resource's reconciliation is still in
|
155
|
-
# See comments in `Job.reconciling` for additional information on
|
152
|
+
# Output only. Indicates whether the resource's reconciliation is still in
|
153
|
+
# progress. See comments in `Job.reconciling` for additional information on
|
156
154
|
# reconciliation process in Cloud Run.
|
157
155
|
# @!attribute [r] conditions
|
158
156
|
# @return [::Array<::Google::Cloud::Run::V2::Condition>]
|
159
|
-
# Output only. The Condition of this Task, containing its readiness status,
|
160
|
-
# detailed error information in case it did not reach the desired state.
|
157
|
+
# Output only. The Condition of this Task, containing its readiness status,
|
158
|
+
# and detailed error information in case it did not reach the desired state.
|
161
159
|
# @!attribute [r] observed_generation
|
162
160
|
# @return [::Integer]
|
163
161
|
# Output only. The generation of this Task. See comments in `Job.reconciling`
|
@@ -174,13 +172,18 @@ module Google
|
|
174
172
|
# Output only. Result of the last attempt of this Task.
|
175
173
|
# @!attribute [r] encryption_key
|
176
174
|
# @return [::String]
|
177
|
-
# Output only. A reference to a customer managed encryption key (CMEK) to use
|
178
|
-
# this container image. For more information, go to
|
175
|
+
# Output only. A reference to a customer managed encryption key (CMEK) to use
|
176
|
+
# to encrypt this container image. For more information, go to
|
179
177
|
# https://cloud.google.com/run/docs/securing/using-cmek
|
180
178
|
# @!attribute [r] vpc_access
|
181
179
|
# @return [::Google::Cloud::Run::V2::VpcAccess]
|
182
|
-
# Output only. VPC Access configuration to use for this Task. For more
|
183
|
-
# visit
|
180
|
+
# Output only. VPC Access configuration to use for this Task. For more
|
181
|
+
# information, visit
|
182
|
+
# https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
183
|
+
# @!attribute [r] log_uri
|
184
|
+
# @return [::String]
|
185
|
+
# Output only. URI where logs for this execution can be found in Cloud
|
186
|
+
# Console.
|
184
187
|
# @!attribute [r] etag
|
185
188
|
# @return [::String]
|
186
189
|
# Output only. A system-generated fingerprint for this version of the
|
@@ -104,6 +104,18 @@ module Google
|
|
104
104
|
# Uses Second Generation environment.
|
105
105
|
EXECUTION_ENVIRONMENT_GEN2 = 2
|
106
106
|
end
|
107
|
+
|
108
|
+
# Specifies behavior if an encryption key used by a resource is revoked.
|
109
|
+
module EncryptionKeyRevocationAction
|
110
|
+
# Unspecified
|
111
|
+
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0
|
112
|
+
|
113
|
+
# Prevents the creation of new instances.
|
114
|
+
PREVENT_NEW = 1
|
115
|
+
|
116
|
+
# Shuts down existing instances, and prevents creation of new ones.
|
117
|
+
SHUTDOWN = 2
|
118
|
+
end
|
107
119
|
end
|
108
120
|
end
|
109
121
|
end
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
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.7.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:
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.26.
|
87
|
+
version: 1.26.3
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: 1.26.
|
94
|
+
version: 1.26.3
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: minitest
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,6 +214,10 @@ files:
|
|
214
214
|
- lib/google/cloud/run/v2/executions/credentials.rb
|
215
215
|
- lib/google/cloud/run/v2/executions/operations.rb
|
216
216
|
- lib/google/cloud/run/v2/executions/paths.rb
|
217
|
+
- lib/google/cloud/run/v2/executions/rest.rb
|
218
|
+
- lib/google/cloud/run/v2/executions/rest/client.rb
|
219
|
+
- lib/google/cloud/run/v2/executions/rest/operations.rb
|
220
|
+
- lib/google/cloud/run/v2/executions/rest/service_stub.rb
|
217
221
|
- lib/google/cloud/run/v2/job_pb.rb
|
218
222
|
- lib/google/cloud/run/v2/job_services_pb.rb
|
219
223
|
- lib/google/cloud/run/v2/jobs.rb
|
@@ -221,7 +225,12 @@ files:
|
|
221
225
|
- lib/google/cloud/run/v2/jobs/credentials.rb
|
222
226
|
- lib/google/cloud/run/v2/jobs/operations.rb
|
223
227
|
- lib/google/cloud/run/v2/jobs/paths.rb
|
228
|
+
- lib/google/cloud/run/v2/jobs/rest.rb
|
229
|
+
- lib/google/cloud/run/v2/jobs/rest/client.rb
|
230
|
+
- lib/google/cloud/run/v2/jobs/rest/operations.rb
|
231
|
+
- lib/google/cloud/run/v2/jobs/rest/service_stub.rb
|
224
232
|
- lib/google/cloud/run/v2/k8s.min_pb.rb
|
233
|
+
- lib/google/cloud/run/v2/rest.rb
|
225
234
|
- lib/google/cloud/run/v2/revision_pb.rb
|
226
235
|
- lib/google/cloud/run/v2/revision_services_pb.rb
|
227
236
|
- lib/google/cloud/run/v2/revision_template_pb.rb
|
@@ -230,6 +239,10 @@ files:
|
|
230
239
|
- lib/google/cloud/run/v2/revisions/credentials.rb
|
231
240
|
- lib/google/cloud/run/v2/revisions/operations.rb
|
232
241
|
- lib/google/cloud/run/v2/revisions/paths.rb
|
242
|
+
- lib/google/cloud/run/v2/revisions/rest.rb
|
243
|
+
- lib/google/cloud/run/v2/revisions/rest/client.rb
|
244
|
+
- lib/google/cloud/run/v2/revisions/rest/operations.rb
|
245
|
+
- lib/google/cloud/run/v2/revisions/rest/service_stub.rb
|
233
246
|
- lib/google/cloud/run/v2/service_pb.rb
|
234
247
|
- lib/google/cloud/run/v2/service_services_pb.rb
|
235
248
|
- lib/google/cloud/run/v2/services.rb
|
@@ -237,6 +250,10 @@ files:
|
|
237
250
|
- lib/google/cloud/run/v2/services/credentials.rb
|
238
251
|
- lib/google/cloud/run/v2/services/operations.rb
|
239
252
|
- lib/google/cloud/run/v2/services/paths.rb
|
253
|
+
- lib/google/cloud/run/v2/services/rest.rb
|
254
|
+
- lib/google/cloud/run/v2/services/rest/client.rb
|
255
|
+
- lib/google/cloud/run/v2/services/rest/operations.rb
|
256
|
+
- lib/google/cloud/run/v2/services/rest/service_stub.rb
|
240
257
|
- lib/google/cloud/run/v2/task_pb.rb
|
241
258
|
- lib/google/cloud/run/v2/task_services_pb.rb
|
242
259
|
- lib/google/cloud/run/v2/task_template_pb.rb
|
@@ -244,10 +261,14 @@ files:
|
|
244
261
|
- lib/google/cloud/run/v2/tasks/client.rb
|
245
262
|
- lib/google/cloud/run/v2/tasks/credentials.rb
|
246
263
|
- lib/google/cloud/run/v2/tasks/paths.rb
|
264
|
+
- lib/google/cloud/run/v2/tasks/rest.rb
|
265
|
+
- lib/google/cloud/run/v2/tasks/rest/client.rb
|
266
|
+
- lib/google/cloud/run/v2/tasks/rest/service_stub.rb
|
247
267
|
- lib/google/cloud/run/v2/traffic_target_pb.rb
|
248
268
|
- lib/google/cloud/run/v2/vendor_settings_pb.rb
|
249
269
|
- lib/google/cloud/run/v2/version.rb
|
250
270
|
- proto_docs/README.md
|
271
|
+
- proto_docs/google/api/client.rb
|
251
272
|
- proto_docs/google/api/field_behavior.rb
|
252
273
|
- proto_docs/google/api/launch_stage.rb
|
253
274
|
- proto_docs/google/api/resource.rb
|
@@ -294,8 +315,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
315
|
- !ruby/object:Gem::Version
|
295
316
|
version: '0'
|
296
317
|
requirements: []
|
297
|
-
rubygems_version: 3.
|
318
|
+
rubygems_version: 3.4.2
|
298
319
|
signing_key:
|
299
320
|
specification_version: 4
|
300
|
-
summary:
|
321
|
+
summary: Deploy and manage user provided container images that scale automatically
|
322
|
+
based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving
|
323
|
+
API specification, while v2 is aligned with Google Cloud AIP-based API standards,
|
324
|
+
as described in https://google.aip.dev/.
|
301
325
|
test_files: []
|