google-apis-run_v1 0.27.0 → 0.28.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_v1/classes.rb +37 -36
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +16 -16
- data/lib/google/apis/run_v1/service.rb +16 -24
- 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: 40a6bfbf04ecd9bb4f737c1a1adce511527291eccc2b0569aef446ad21ffde8c
|
4
|
+
data.tar.gz: 2f601e09687c2d8c6f1ece3d5275f173981df69a473985a6f6c2b01ac2f79c8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be951e545479f0b9527f92a0e8cc99ee8119c7aa5ee330b5baef62aae58629cbf3324a943c16f671ddae51928001ca58d545e35d7bd796d02bcedbb07a5068e5
|
7
|
+
data.tar.gz: a2267fb55f88def50037b21156b7999c679c452cb118c686709d8c6b66bc1e145a91839b96c26087ae243f0a700261634e30a3be78194857cd6e86eaa9c1cce0
|
data/CHANGELOG.md
CHANGED
@@ -54,8 +54,8 @@ module Google
|
|
54
54
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
55
55
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
56
56
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
57
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
58
|
-
# DATA_WRITE logging.
|
57
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
58
|
+
# from DATA_WRITE logging.
|
59
59
|
class AuditConfig
|
60
60
|
include Google::Apis::Core::Hashable
|
61
61
|
|
@@ -653,32 +653,6 @@ module Google
|
|
653
653
|
end
|
654
654
|
end
|
655
655
|
|
656
|
-
# ContainerStatus holds the information of container name and image digest value.
|
657
|
-
class ContainerStatus
|
658
|
-
include Google::Apis::Core::Hashable
|
659
|
-
|
660
|
-
# ImageDigest holds the resolved digest for the image specified, regardless of
|
661
|
-
# whether a tag or digest was originally specified in the Container object.
|
662
|
-
# Corresponds to the JSON property `imageDigest`
|
663
|
-
# @return [String]
|
664
|
-
attr_accessor :image_digest
|
665
|
-
|
666
|
-
# The name of the container, if specified.
|
667
|
-
# Corresponds to the JSON property `name`
|
668
|
-
# @return [String]
|
669
|
-
attr_accessor :name
|
670
|
-
|
671
|
-
def initialize(**args)
|
672
|
-
update!(**args)
|
673
|
-
end
|
674
|
-
|
675
|
-
# Update properties of this object
|
676
|
-
def update!(**args)
|
677
|
-
@image_digest = args[:image_digest] if args.key?(:image_digest)
|
678
|
-
@name = args[:name] if args.key?(:name)
|
679
|
-
end
|
680
|
-
end
|
681
|
-
|
682
656
|
# Resource to hold the state and status of a user's domain mapping. NOTE: This
|
683
657
|
# resource is currently in Beta.
|
684
658
|
class DomainMapping
|
@@ -1213,6 +1187,34 @@ module Google
|
|
1213
1187
|
end
|
1214
1188
|
end
|
1215
1189
|
|
1190
|
+
# Not supported by Cloud Run GRPCAction describes an action involving a GRPC
|
1191
|
+
# port.
|
1192
|
+
class GrpcAction
|
1193
|
+
include Google::Apis::Core::Hashable
|
1194
|
+
|
1195
|
+
# Port number of the gRPC service. Number must be in the range 1 to 65535.
|
1196
|
+
# Corresponds to the JSON property `port`
|
1197
|
+
# @return [Fixnum]
|
1198
|
+
attr_accessor :port
|
1199
|
+
|
1200
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest (
|
1201
|
+
# see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
|
1202
|
+
# is not specified, the default behavior is defined by gRPC.
|
1203
|
+
# Corresponds to the JSON property `service`
|
1204
|
+
# @return [String]
|
1205
|
+
attr_accessor :service
|
1206
|
+
|
1207
|
+
def initialize(**args)
|
1208
|
+
update!(**args)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Update properties of this object
|
1212
|
+
def update!(**args)
|
1213
|
+
@port = args[:port] if args.key?(:port)
|
1214
|
+
@service = args[:service] if args.key?(:service)
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1216
1218
|
# Condition defines a generic condition for a Resource.
|
1217
1219
|
class GoogleCloudRunV1Condition
|
1218
1220
|
include Google::Apis::Core::Hashable
|
@@ -1453,13 +1455,6 @@ module Google
|
|
1453
1455
|
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
|
1454
1456
|
attr_accessor :conditions
|
1455
1457
|
|
1456
|
-
# Status information for each of the specified containers. The status includes
|
1457
|
-
# the resolved digest for specified images, which occurs during creation of the
|
1458
|
-
# job.
|
1459
|
-
# Corresponds to the JSON property `containerStatuses`
|
1460
|
-
# @return [Array<Google::Apis::RunV1::ContainerStatus>]
|
1461
|
-
attr_accessor :container_statuses
|
1462
|
-
|
1463
1458
|
# Number of executions created for this job.
|
1464
1459
|
# Corresponds to the JSON property `executionCount`
|
1465
1460
|
# @return [Fixnum]
|
@@ -1483,7 +1478,6 @@ module Google
|
|
1483
1478
|
# Update properties of this object
|
1484
1479
|
def update!(**args)
|
1485
1480
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1486
|
-
@container_statuses = args[:container_statuses] if args.key?(:container_statuses)
|
1487
1481
|
@execution_count = args[:execution_count] if args.key?(:execution_count)
|
1488
1482
|
@latest_created_execution = args[:latest_created_execution] if args.key?(:latest_created_execution)
|
1489
1483
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
@@ -2403,6 +2397,12 @@ module Google
|
|
2403
2397
|
# @return [Fixnum]
|
2404
2398
|
attr_accessor :failure_threshold
|
2405
2399
|
|
2400
|
+
# Not supported by Cloud Run GRPCAction describes an action involving a GRPC
|
2401
|
+
# port.
|
2402
|
+
# Corresponds to the JSON property `grpc`
|
2403
|
+
# @return [Google::Apis::RunV1::GrpcAction]
|
2404
|
+
attr_accessor :grpc
|
2405
|
+
|
2406
2406
|
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
2407
2407
|
# requests.
|
2408
2408
|
# Corresponds to the JSON property `httpGet`
|
@@ -2453,6 +2453,7 @@ module Google
|
|
2453
2453
|
def update!(**args)
|
2454
2454
|
@exec = args[:exec] if args.key?(:exec)
|
2455
2455
|
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
2456
|
+
@grpc = args[:grpc] if args.key?(:grpc)
|
2456
2457
|
@http_get = args[:http_get] if args.key?(:http_get)
|
2457
2458
|
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
2458
2459
|
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1
|
18
18
|
# Version of the google-apis-run_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,12 +100,6 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class ContainerStatus
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
103
|
class DomainMapping
|
110
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
105
|
|
@@ -184,6 +178,12 @@ module Google
|
|
184
178
|
include Google::Apis::Core::JsonObjectSupport
|
185
179
|
end
|
186
180
|
|
181
|
+
class GrpcAction
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
187
|
class GoogleCloudRunV1Condition
|
188
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
189
|
|
@@ -674,14 +674,6 @@ module Google
|
|
674
674
|
end
|
675
675
|
end
|
676
676
|
|
677
|
-
class ContainerStatus
|
678
|
-
# @private
|
679
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
680
|
-
property :image_digest, as: 'imageDigest'
|
681
|
-
property :name, as: 'name'
|
682
|
-
end
|
683
|
-
end
|
684
|
-
|
685
677
|
class DomainMapping
|
686
678
|
# @private
|
687
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -825,6 +817,14 @@ module Google
|
|
825
817
|
end
|
826
818
|
end
|
827
819
|
|
820
|
+
class GrpcAction
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :port, as: 'port'
|
824
|
+
property :service, as: 'service'
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
828
|
class GoogleCloudRunV1Condition
|
829
829
|
# @private
|
830
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -892,8 +892,6 @@ module Google
|
|
892
892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
893
893
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
|
894
894
|
|
895
|
-
collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV1::ContainerStatus, decorator: Google::Apis::RunV1::ContainerStatus::Representation
|
896
|
-
|
897
895
|
property :execution_count, as: 'executionCount'
|
898
896
|
property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV1::ExecutionReference, decorator: Google::Apis::RunV1::ExecutionReference::Representation
|
899
897
|
|
@@ -1111,6 +1109,8 @@ module Google
|
|
1111
1109
|
property :exec, as: 'exec', class: Google::Apis::RunV1::ExecAction, decorator: Google::Apis::RunV1::ExecAction::Representation
|
1112
1110
|
|
1113
1111
|
property :failure_threshold, as: 'failureThreshold'
|
1112
|
+
property :grpc, as: 'grpc', class: Google::Apis::RunV1::GrpcAction, decorator: Google::Apis::RunV1::GrpcAction::Representation
|
1113
|
+
|
1114
1114
|
property :http_get, as: 'httpGet', class: Google::Apis::RunV1::HttpGetAction, decorator: Google::Apis::RunV1::HttpGetAction::Representation
|
1115
1115
|
|
1116
1116
|
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
@@ -955,15 +955,13 @@ module Google
|
|
955
955
|
|
956
956
|
# Create a service.
|
957
957
|
# @param [String] parent
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
958
|
+
# The namespace in which the service should be created. For Cloud Run (fully
|
959
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
960
|
+
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
961
961
|
# @param [Google::Apis::RunV1::Service] service_object
|
962
962
|
# @param [String] dry_run
|
963
963
|
# Indicates that the server should validate the request and populate default
|
964
|
-
# values without persisting the request. Supported values: `all`
|
965
|
-
# //depot/google3/google/cloud/serverless/internal/internal_service.proto:
|
966
|
-
# create_internal_service_request)
|
964
|
+
# values without persisting the request. Supported values: `all`
|
967
965
|
# @param [String] fields
|
968
966
|
# Selector specifying which fields to include in a partial response.
|
969
967
|
# @param [String] quota_user
|
@@ -1137,15 +1135,13 @@ module Google
|
|
1137
1135
|
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
|
1138
1136
|
# update from last read for optimistic concurrency control.
|
1139
1137
|
# @param [String] name
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
#
|
1138
|
+
# The name of the service being replaced. For Cloud Run (fully managed), replace
|
1139
|
+
# `namespace` with the project ID or number. It takes the form namespaces/`
|
1140
|
+
# namespace`. For example: namespaces/PROJECT_ID
|
1143
1141
|
# @param [Google::Apis::RunV1::Service] service_object
|
1144
1142
|
# @param [String] dry_run
|
1145
1143
|
# Indicates that the server should validate the request and populate default
|
1146
|
-
# values without persisting the request. Supported values: `all`
|
1147
|
-
# //depot/google3/google/cloud/serverless/internal/internal_service.proto:
|
1148
|
-
# replace_internal_service_request)
|
1144
|
+
# values without persisting the request. Supported values: `all`
|
1149
1145
|
# @param [String] fields
|
1150
1146
|
# Selector specifying which fields to include in a partial response.
|
1151
1147
|
# @param [String] quota_user
|
@@ -1988,15 +1984,13 @@ module Google
|
|
1988
1984
|
|
1989
1985
|
# Create a service.
|
1990
1986
|
# @param [String] parent
|
1991
|
-
#
|
1992
|
-
#
|
1993
|
-
#
|
1987
|
+
# The namespace in which the service should be created. For Cloud Run (fully
|
1988
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
1989
|
+
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1994
1990
|
# @param [Google::Apis::RunV1::Service] service_object
|
1995
1991
|
# @param [String] dry_run
|
1996
1992
|
# Indicates that the server should validate the request and populate default
|
1997
|
-
# values without persisting the request. Supported values: `all`
|
1998
|
-
# //depot/google3/google/cloud/serverless/internal/internal_service.proto:
|
1999
|
-
# create_internal_service_request)
|
1993
|
+
# values without persisting the request. Supported values: `all`
|
2000
1994
|
# @param [String] fields
|
2001
1995
|
# Selector specifying which fields to include in a partial response.
|
2002
1996
|
# @param [String] quota_user
|
@@ -2214,15 +2208,13 @@ module Google
|
|
2214
2208
|
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
|
2215
2209
|
# update from last read for optimistic concurrency control.
|
2216
2210
|
# @param [String] name
|
2217
|
-
#
|
2218
|
-
#
|
2219
|
-
#
|
2211
|
+
# The name of the service being replaced. For Cloud Run (fully managed), replace
|
2212
|
+
# `namespace` with the project ID or number. It takes the form namespaces/`
|
2213
|
+
# namespace`. For example: namespaces/PROJECT_ID
|
2220
2214
|
# @param [Google::Apis::RunV1::Service] service_object
|
2221
2215
|
# @param [String] dry_run
|
2222
2216
|
# Indicates that the server should validate the request and populate default
|
2223
|
-
# values without persisting the request. Supported values: `all`
|
2224
|
-
# //depot/google3/google/cloud/serverless/internal/internal_service.proto:
|
2225
|
-
# replace_internal_service_request)
|
2217
|
+
# values without persisting the request. Supported values: `all`
|
2226
2218
|
# @param [String] fields
|
2227
2219
|
# Selector specifying which fields to include in a partial response.
|
2228
2220
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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: 2022-05-
|
11
|
+
date: 2022-05-09 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|