google-cloud-run-v2 0.10.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/run/v2/condition_pb.rb +1 -1
- data/lib/google/cloud/run/v2/execution_pb.rb +2 -1
- data/lib/google/cloud/run/v2/execution_services_pb.rb +2 -0
- data/lib/google/cloud/run/v2/executions/client.rb +125 -7
- data/lib/google/cloud/run/v2/executions/operations.rb +10 -1
- data/lib/google/cloud/run/v2/executions/rest/client.rb +167 -6
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +98 -0
- data/lib/google/cloud/run/v2/executions/rest/service_stub.rb +60 -0
- data/lib/google/cloud/run/v2/job_pb.rb +8 -1
- data/lib/google/cloud/run/v2/jobs/client.rb +44 -14
- data/lib/google/cloud/run/v2/jobs/operations.rb +10 -1
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +180 -1
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +98 -0
- data/lib/google/cloud/run/v2/k8s.min_pb.rb +3 -1
- data/lib/google/cloud/run/v2/revisions/client.rb +10 -1
- data/lib/google/cloud/run/v2/revisions/operations.rb +10 -1
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +59 -0
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +98 -0
- data/lib/google/cloud/run/v2/services/client.rb +10 -1
- data/lib/google/cloud/run/v2/services/operations.rb +10 -1
- data/lib/google/cloud/run/v2/services/rest/client.rb +153 -0
- data/lib/google/cloud/run/v2/services/rest/operations.rb +98 -0
- data/lib/google/cloud/run/v2/task_pb.rb +1 -1
- data/lib/google/cloud/run/v2/tasks/client.rb +10 -1
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +36 -0
- data/lib/google/cloud/run/v2/vendor_settings_pb.rb +3 -1
- data/lib/google/cloud/run/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/run/v2/condition.rb +3 -0
- data/proto_docs/google/cloud/run/v2/execution.rb +26 -6
- data/proto_docs/google/cloud/run/v2/job.rb +42 -0
- data/proto_docs/google/cloud/run/v2/k8s.min.rb +44 -4
- data/proto_docs/google/cloud/run/v2/task.rb +7 -2
- data/proto_docs/google/cloud/run/v2/vendor_settings.rb +33 -5
- metadata +5 -5
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# A single application container.
|
25
25
|
# This specifies both the container to run, the command to run in the container
|
26
26
|
# and the arguments to supply to it.
|
27
|
-
# Note that additional arguments
|
27
|
+
# Note that additional arguments can be supplied by the system to the container
|
28
28
|
# at runtime.
|
29
29
|
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
@@ -74,6 +74,9 @@ module Google
|
|
74
74
|
# All other probes are disabled if a startup probe is provided, until it
|
75
75
|
# succeeds. Container will not be added to service endpoints if the probe
|
76
76
|
# fails.
|
77
|
+
# @!attribute [rw] depends_on
|
78
|
+
# @return [::Array<::String>]
|
79
|
+
# Names of the containers that must start before this container.
|
77
80
|
class Container
|
78
81
|
include ::Google::Protobuf::MessageExts
|
79
82
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -115,8 +118,8 @@ module Google
|
|
115
118
|
# EnvVar represents an environment variable present in a Container.
|
116
119
|
# @!attribute [rw] name
|
117
120
|
# @return [::String]
|
118
|
-
# Required. Name of the environment variable. Must
|
119
|
-
#
|
121
|
+
# Required. Name of the environment variable. Must not exceed 32768
|
122
|
+
# characters.
|
120
123
|
# @!attribute [rw] value
|
121
124
|
# @return [::String]
|
122
125
|
# Variable references $(VAR_NAME) are expanded
|
@@ -203,6 +206,9 @@ module Google
|
|
203
206
|
# For Cloud SQL volumes, contains the specific instances that should be
|
204
207
|
# mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
|
205
208
|
# more information on how to connect Cloud SQL and Cloud Run.
|
209
|
+
# @!attribute [rw] empty_dir
|
210
|
+
# @return [::Google::Cloud::Run::V2::EmptyDirVolumeSource]
|
211
|
+
# Ephemeral storage used as a shared volume.
|
206
212
|
class Volume
|
207
213
|
include ::Google::Protobuf::MessageExts
|
208
214
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,6 +303,40 @@ module Google
|
|
297
303
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
304
|
end
|
299
305
|
|
306
|
+
# In memory (tmpfs) ephemeral storage.
|
307
|
+
# It is ephemeral in the sense that when the sandbox is taken down, the data is
|
308
|
+
# destroyed with it (it does not persist across sandbox runs).
|
309
|
+
# @!attribute [rw] medium
|
310
|
+
# @return [::Google::Cloud::Run::V2::EmptyDirVolumeSource::Medium]
|
311
|
+
# The medium on which the data is stored. Acceptable values today is only
|
312
|
+
# MEMORY or none. When none, the default will currently be backed by memory
|
313
|
+
# but could change over time. +optional
|
314
|
+
# @!attribute [rw] size_limit
|
315
|
+
# @return [::String]
|
316
|
+
# Limit on the storage usable by this EmptyDir volume.
|
317
|
+
# The size limit is also applicable for memory medium.
|
318
|
+
# The maximum usage on memory medium EmptyDir would be the minimum value
|
319
|
+
# between the SizeLimit specified here and the sum of memory limits of all
|
320
|
+
# containers. The default is nil which means that the limit is undefined.
|
321
|
+
# More info:
|
322
|
+
# https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume.
|
323
|
+
# Info in Kubernetes:
|
324
|
+
# https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
|
325
|
+
class EmptyDirVolumeSource
|
326
|
+
include ::Google::Protobuf::MessageExts
|
327
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
328
|
+
|
329
|
+
# The different types of medium supported for EmptyDir.
|
330
|
+
module Medium
|
331
|
+
# When not specified, falls back to the default implementation which
|
332
|
+
# is currently in memory (this may change over time).
|
333
|
+
MEDIUM_UNSPECIFIED = 0
|
334
|
+
|
335
|
+
# Explicitly set the EmptyDir to be in memory. Uses tmpfs.
|
336
|
+
MEMORY = 1
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
300
340
|
# Probe describes a health check to be performed against a container to
|
301
341
|
# determine whether it is alive or ready to receive traffic.
|
302
342
|
# @!attribute [rw] initial_delay_seconds
|
@@ -386,7 +426,7 @@ module Google
|
|
386
426
|
# @!attribute [rw] service
|
387
427
|
# @return [::String]
|
388
428
|
# Service is the name of the service to place in the gRPC HealthCheckRequest
|
389
|
-
# (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
|
429
|
+
# (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If
|
390
430
|
# this is not specified, the default behavior is defined by gRPC.
|
391
431
|
class GRPCAction
|
392
432
|
include ::Google::Protobuf::MessageExts
|
@@ -96,8 +96,13 @@ module Google
|
|
96
96
|
# when modifying objects.
|
97
97
|
# @!attribute [r] create_time
|
98
98
|
# @return [::Google::Protobuf::Timestamp]
|
99
|
-
# Output only. Represents time when the task was created by the
|
100
|
-
#
|
99
|
+
# Output only. Represents time when the task was created by the system.
|
100
|
+
# It is not guaranteed to be set in happens-before order across separate
|
101
|
+
# operations.
|
102
|
+
# @!attribute [r] scheduled_time
|
103
|
+
# @return [::Google::Protobuf::Timestamp]
|
104
|
+
# Output only. Represents time when the task was scheduled to run by the
|
105
|
+
# system. It is not guaranteed to be set in happens-before order across
|
101
106
|
# separate operations.
|
102
107
|
# @!attribute [r] start_time
|
103
108
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -21,22 +21,50 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Run
|
23
23
|
module V2
|
24
|
-
# VPC Access settings. For more information on
|
25
|
-
# https://cloud.google.com/
|
26
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
27
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
24
|
+
# VPC Access settings. For more information on sending traffic to a VPC
|
25
|
+
# network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
28
26
|
# @!attribute [rw] connector
|
29
27
|
# @return [::String]
|
30
28
|
# VPC Access connector name.
|
31
29
|
# Format: projects/\\{project}/locations/\\{location}/connectors/\\{connector},
|
32
30
|
# where \\{project} can be project id or number.
|
31
|
+
# For more information on sending traffic to a VPC network via a connector,
|
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.
|
35
|
+
# Traffic VPC egress settings. If not provided, it defaults to
|
36
|
+
# PRIVATE_RANGES_ONLY.
|
37
|
+
# @!attribute [rw] network_interfaces
|
38
|
+
# @return [::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>]
|
39
|
+
# Direct VPC egress settings. Currently only single network interface is
|
40
|
+
# supported.
|
36
41
|
class VpcAccess
|
37
42
|
include ::Google::Protobuf::MessageExts
|
38
43
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
44
|
|
45
|
+
# Direct VPC egress settings.
|
46
|
+
# @!attribute [rw] network
|
47
|
+
# @return [::String]
|
48
|
+
# The VPC network that the Cloud Run resource will be able to send traffic
|
49
|
+
# to. At least one of network or subnetwork must be specified. If both
|
50
|
+
# network and subnetwork are specified, the given VPC subnetwork must
|
51
|
+
# belong to the given VPC network. If network is not specified, it will be
|
52
|
+
# looked up from the subnetwork.
|
53
|
+
# @!attribute [rw] subnetwork
|
54
|
+
# @return [::String]
|
55
|
+
# The VPC subnetwork that the Cloud Run resource will get IPs from. At
|
56
|
+
# least one of network or subnetwork must be specified. If both
|
57
|
+
# network and subnetwork are specified, the given VPC subnetwork must
|
58
|
+
# belong to the given VPC network. If subnetwork is not specified, the
|
59
|
+
# subnetwork with the same name with the network will be used.
|
60
|
+
# @!attribute [rw] tags
|
61
|
+
# @return [::Array<::String>]
|
62
|
+
# Network tags applied to this Cloud Run resource.
|
63
|
+
class NetworkInterface
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
67
|
+
|
40
68
|
# Egress options for VPC access.
|
41
69
|
module VpcEgress
|
42
70
|
# 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.12.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-
|
11
|
+
date: 2023-09-29 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: 0.
|
19
|
+
version: 0.20.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: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -315,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
315
|
- !ruby/object:Gem::Version
|
316
316
|
version: '0'
|
317
317
|
requirements: []
|
318
|
-
rubygems_version: 3.4.
|
318
|
+
rubygems_version: 3.4.19
|
319
319
|
signing_key:
|
320
320
|
specification_version: 4
|
321
321
|
summary: Deploy and manage user provided container images that scale automatically
|