google-apis-run_v2 0.12.0 → 0.13.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/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v2/classes.rb +23 -76
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +2 -22
- 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: c7c6db4dcd2f9406ca244dd3d0ddebe0159d3863a4881c633c1e4960b5eb7ae7
|
4
|
+
data.tar.gz: 932015b164b05deecb0c28403ec149f239c25ad07942267e712c5e586ab0fb93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9461d8a98f5d290755259061e560099665c1722b5bc0e734f435cbbab253d81245c0fae2bf317b0ff7887c014c63ef3514ac323807532bba0ee8f4c3836f8fd9
|
7
|
+
data.tar.gz: 1a086f7e6880caba9be09dc6308af0c3075b3a35dea8dad418626ee31ebdfdb319fe16a59b10d12a9a61409709d1aed5d6a92696ce326a75611eb0c03561d9d9
|
data/CHANGELOG.md
CHANGED
@@ -78,21 +78,11 @@ module Google
|
|
78
78
|
class GoogleCloudRunV2Condition
|
79
79
|
include Google::Apis::Core::Hashable
|
80
80
|
|
81
|
-
# A reason for the domain mapping condition.
|
82
|
-
# Corresponds to the JSON property `domainMappingReason`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :domain_mapping_reason
|
85
|
-
|
86
81
|
# A reason for the execution condition.
|
87
82
|
# Corresponds to the JSON property `executionReason`
|
88
83
|
# @return [String]
|
89
84
|
attr_accessor :execution_reason
|
90
85
|
|
91
|
-
# A reason for the internal condition.
|
92
|
-
# Corresponds to the JSON property `internalReason`
|
93
|
-
# @return [String]
|
94
|
-
attr_accessor :internal_reason
|
95
|
-
|
96
86
|
# Last time the condition transitioned from one status to another.
|
97
87
|
# Corresponds to the JSON property `lastTransitionTime`
|
98
88
|
# @return [String]
|
@@ -137,9 +127,7 @@ module Google
|
|
137
127
|
|
138
128
|
# Update properties of this object
|
139
129
|
def update!(**args)
|
140
|
-
@domain_mapping_reason = args[:domain_mapping_reason] if args.key?(:domain_mapping_reason)
|
141
130
|
@execution_reason = args[:execution_reason] if args.key?(:execution_reason)
|
142
|
-
@internal_reason = args[:internal_reason] if args.key?(:internal_reason)
|
143
131
|
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
144
132
|
@message = args[:message] if args.key?(:message)
|
145
133
|
@reason = args[:reason] if args.key?(:reason)
|
@@ -185,8 +173,9 @@ module Google
|
|
185
173
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
|
186
174
|
attr_accessor :env
|
187
175
|
|
188
|
-
# Required. URL of the Container image in Google Container Registry or
|
189
|
-
# More info: https://kubernetes.io/docs/concepts/containers/
|
176
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
177
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
178
|
+
# images
|
190
179
|
# Corresponds to the JSON property `image`
|
191
180
|
# @return [String]
|
192
181
|
attr_accessor :image
|
@@ -259,32 +248,6 @@ module Google
|
|
259
248
|
end
|
260
249
|
end
|
261
250
|
|
262
|
-
# ContainerStatus holds the information of container name and image digest value.
|
263
|
-
class GoogleCloudRunV2ContainerStatus
|
264
|
-
include Google::Apis::Core::Hashable
|
265
|
-
|
266
|
-
# ImageDigest holds the resolved digest for the image specified, regardless of
|
267
|
-
# whether a tag or digest was originally specified in the Container object.
|
268
|
-
# Corresponds to the JSON property `imageDigest`
|
269
|
-
# @return [String]
|
270
|
-
attr_accessor :image_digest
|
271
|
-
|
272
|
-
# The name of the container, if specified.
|
273
|
-
# Corresponds to the JSON property `name`
|
274
|
-
# @return [String]
|
275
|
-
attr_accessor :name
|
276
|
-
|
277
|
-
def initialize(**args)
|
278
|
-
update!(**args)
|
279
|
-
end
|
280
|
-
|
281
|
-
# Update properties of this object
|
282
|
-
def update!(**args)
|
283
|
-
@image_digest = args[:image_digest] if args.key?(:image_digest)
|
284
|
-
@name = args[:name] if args.key?(:name)
|
285
|
-
end
|
286
|
-
end
|
287
|
-
|
288
251
|
# EnvVar represents an environment variable present in a Container.
|
289
252
|
class GoogleCloudRunV2EnvVar
|
290
253
|
include Google::Apis::Core::Hashable
|
@@ -645,11 +608,6 @@ module Google
|
|
645
608
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
646
609
|
attr_accessor :conditions
|
647
610
|
|
648
|
-
# Output only. Status information for each of the containers specified.
|
649
|
-
# Corresponds to the JSON property `containerStatuses`
|
650
|
-
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus>]
|
651
|
-
attr_accessor :container_statuses
|
652
|
-
|
653
611
|
# Output only. The creation time.
|
654
612
|
# Corresponds to the JSON property `createTime`
|
655
613
|
# @return [String]
|
@@ -784,7 +742,6 @@ module Google
|
|
784
742
|
@client = args[:client] if args.key?(:client)
|
785
743
|
@client_version = args[:client_version] if args.key?(:client_version)
|
786
744
|
@conditions = args[:conditions] if args.key?(:conditions)
|
787
|
-
@container_statuses = args[:container_statuses] if args.key?(:container_statuses)
|
788
745
|
@create_time = args[:create_time] if args.key?(:create_time)
|
789
746
|
@creator = args[:creator] if args.key?(:creator)
|
790
747
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -983,17 +940,6 @@ module Google
|
|
983
940
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
984
941
|
attr_accessor :conditions
|
985
942
|
|
986
|
-
# Indicates whether Confidential Cloud Run is enabled in this Revision.
|
987
|
-
# Corresponds to the JSON property `confidential`
|
988
|
-
# @return [Boolean]
|
989
|
-
attr_accessor :confidential
|
990
|
-
alias_method :confidential?, :confidential
|
991
|
-
|
992
|
-
# Sets the maximum number of requests that each serving instance can receive.
|
993
|
-
# Corresponds to the JSON property `containerConcurrency`
|
994
|
-
# @return [Fixnum]
|
995
|
-
attr_accessor :container_concurrency
|
996
|
-
|
997
943
|
# Holds the single container that defines the unit of execution for this
|
998
944
|
# Revision.
|
999
945
|
# Corresponds to the JSON property `containers`
|
@@ -1065,6 +1011,11 @@ module Google
|
|
1065
1011
|
# @return [String]
|
1066
1012
|
attr_accessor :log_uri
|
1067
1013
|
|
1014
|
+
# Sets the maximum number of requests that each serving instance can receive.
|
1015
|
+
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1016
|
+
# @return [Fixnum]
|
1017
|
+
attr_accessor :max_instance_request_concurrency
|
1018
|
+
|
1068
1019
|
# Output only. The unique name of this Revision.
|
1069
1020
|
# Corresponds to the JSON property `name`
|
1070
1021
|
# @return [String]
|
@@ -1140,8 +1091,6 @@ module Google
|
|
1140
1091
|
def update!(**args)
|
1141
1092
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1142
1093
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1143
|
-
@confidential = args[:confidential] if args.key?(:confidential)
|
1144
|
-
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
1145
1094
|
@containers = args[:containers] if args.key?(:containers)
|
1146
1095
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1147
1096
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -1153,6 +1102,7 @@ module Google
|
|
1153
1102
|
@labels = args[:labels] if args.key?(:labels)
|
1154
1103
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1155
1104
|
@log_uri = args[:log_uri] if args.key?(:log_uri)
|
1105
|
+
@max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
|
1156
1106
|
@name = args[:name] if args.key?(:name)
|
1157
1107
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
1158
1108
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1202,17 +1152,6 @@ module Google
|
|
1202
1152
|
# @return [Hash<String,String>]
|
1203
1153
|
attr_accessor :annotations
|
1204
1154
|
|
1205
|
-
# Enables Confidential Cloud Run in Revisions created using this template.
|
1206
|
-
# Corresponds to the JSON property `confidential`
|
1207
|
-
# @return [Boolean]
|
1208
|
-
attr_accessor :confidential
|
1209
|
-
alias_method :confidential?, :confidential
|
1210
|
-
|
1211
|
-
# Sets the maximum number of requests that each serving instance can receive.
|
1212
|
-
# Corresponds to the JSON property `containerConcurrency`
|
1213
|
-
# @return [Fixnum]
|
1214
|
-
attr_accessor :container_concurrency
|
1215
|
-
|
1216
1155
|
# Holds the single container that defines the unit of execution for this
|
1217
1156
|
# Revision.
|
1218
1157
|
# Corresponds to the JSON property `containers`
|
@@ -1236,6 +1175,11 @@ module Google
|
|
1236
1175
|
# @return [Hash<String,String>]
|
1237
1176
|
attr_accessor :labels
|
1238
1177
|
|
1178
|
+
# Sets the maximum number of requests that each serving instance can receive.
|
1179
|
+
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1180
|
+
# @return [Fixnum]
|
1181
|
+
attr_accessor :max_instance_request_concurrency
|
1182
|
+
|
1239
1183
|
# The unique name for the revision. If this field is omitted, it will be
|
1240
1184
|
# automatically generated based on the Service name.
|
1241
1185
|
# Corresponds to the JSON property `revision`
|
@@ -1280,12 +1224,11 @@ module Google
|
|
1280
1224
|
# Update properties of this object
|
1281
1225
|
def update!(**args)
|
1282
1226
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1283
|
-
@confidential = args[:confidential] if args.key?(:confidential)
|
1284
|
-
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
1285
1227
|
@containers = args[:containers] if args.key?(:containers)
|
1286
1228
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
1287
1229
|
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
|
1288
1230
|
@labels = args[:labels] if args.key?(:labels)
|
1231
|
+
@max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
|
1289
1232
|
@revision = args[:revision] if args.key?(:revision)
|
1290
1233
|
@scaling = args[:scaling] if args.key?(:scaling)
|
1291
1234
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -1476,7 +1419,9 @@ module Google
|
|
1476
1419
|
attr_accessor :expire_time
|
1477
1420
|
|
1478
1421
|
# Output only. A number that monotonically increases every time the user
|
1479
|
-
# modifies the desired state.
|
1422
|
+
# modifies the desired state. Please note that unlike v1, this is an int64 value.
|
1423
|
+
# As with most Google APIs, its JSON representation will be a `string` instead
|
1424
|
+
# of an `integer`.
|
1480
1425
|
# Corresponds to the JSON property `generation`
|
1481
1426
|
# @return [Fixnum]
|
1482
1427
|
attr_accessor :generation
|
@@ -1535,7 +1480,9 @@ module Google
|
|
1535
1480
|
|
1536
1481
|
# Output only. The generation of this Service currently serving traffic. See
|
1537
1482
|
# comments in `reconciling` for additional information on reconciliation process
|
1538
|
-
# in Cloud Run.
|
1483
|
+
# in Cloud Run. Please note that unlike v1, this is an int64 value. As with most
|
1484
|
+
# Google APIs, its JSON representation will be a `string` instead of an `integer`
|
1485
|
+
# .
|
1539
1486
|
# Corresponds to the JSON property `observedGeneration`
|
1540
1487
|
# @return [Fixnum]
|
1541
1488
|
attr_accessor :observed_generation
|
@@ -2194,8 +2141,8 @@ module Google
|
|
2194
2141
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
2195
2142
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
2196
2143
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
2197
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
2198
|
-
# DATA_WRITE logging.
|
2144
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
2145
|
+
# from DATA_WRITE logging.
|
2199
2146
|
class GoogleIamV1AuditConfig
|
2200
2147
|
include Google::Apis::Core::Hashable
|
2201
2148
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV2
|
18
18
|
# Version of the google-apis-run_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.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
|
@@ -52,12 +52,6 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class GoogleCloudRunV2ContainerStatus
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
55
|
class GoogleCloudRunV2EnvVar
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
@@ -316,9 +310,7 @@ module Google
|
|
316
310
|
class GoogleCloudRunV2Condition
|
317
311
|
# @private
|
318
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
-
property :domain_mapping_reason, as: 'domainMappingReason'
|
320
313
|
property :execution_reason, as: 'executionReason'
|
321
|
-
property :internal_reason, as: 'internalReason'
|
322
314
|
property :last_transition_time, as: 'lastTransitionTime'
|
323
315
|
property :message, as: 'message'
|
324
316
|
property :reason, as: 'reason'
|
@@ -355,14 +347,6 @@ module Google
|
|
355
347
|
end
|
356
348
|
end
|
357
349
|
|
358
|
-
class GoogleCloudRunV2ContainerStatus
|
359
|
-
# @private
|
360
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
-
property :image_digest, as: 'imageDigest'
|
362
|
-
property :name, as: 'name'
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
350
|
class GoogleCloudRunV2EnvVar
|
367
351
|
# @private
|
368
352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -442,8 +426,6 @@ module Google
|
|
442
426
|
property :client_version, as: 'clientVersion'
|
443
427
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
444
428
|
|
445
|
-
collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus::Representation
|
446
|
-
|
447
429
|
property :create_time, as: 'createTime'
|
448
430
|
property :creator, as: 'creator'
|
449
431
|
property :delete_time, as: 'deleteTime'
|
@@ -527,8 +509,6 @@ module Google
|
|
527
509
|
hash :annotations, as: 'annotations'
|
528
510
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
529
511
|
|
530
|
-
property :confidential, as: 'confidential'
|
531
|
-
property :container_concurrency, as: 'containerConcurrency'
|
532
512
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
533
513
|
|
534
514
|
property :create_time, as: 'createTime'
|
@@ -541,6 +521,7 @@ module Google
|
|
541
521
|
hash :labels, as: 'labels'
|
542
522
|
property :launch_stage, as: 'launchStage'
|
543
523
|
property :log_uri, as: 'logUri'
|
524
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
544
525
|
property :name, as: 'name'
|
545
526
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
546
527
|
property :reconciling, as: 'reconciling'
|
@@ -570,13 +551,12 @@ module Google
|
|
570
551
|
# @private
|
571
552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
572
553
|
hash :annotations, as: 'annotations'
|
573
|
-
property :confidential, as: 'confidential'
|
574
|
-
property :container_concurrency, as: 'containerConcurrency'
|
575
554
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
576
555
|
|
577
556
|
property :encryption_key, as: 'encryptionKey'
|
578
557
|
property :execution_environment, as: 'executionEnvironment'
|
579
558
|
hash :labels, as: 'labels'
|
559
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
580
560
|
property :revision, as: 'revision'
|
581
561
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
582
562
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|