google-apis-run_v2 0.26.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 +9 -0
- data/lib/google/apis/run_v2/classes.rb +44 -3
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 997654f8ebd93143ccbb16bc1a5ad684de77e326791b2c3ed65422932bc1b880
|
4
|
+
data.tar.gz: dd60fed779ae0c94c3ee6b4bb7f7080124da723f3cf64127eeb4cb55bd854cd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 369ba883ea5d5b2f965549a28f68c3691b8c807761763c04bec733678eb5da73319a7d477c5cb47bd7bedda590119a1ae7e54120825b042eded59424f187ee2e
|
7
|
+
data.tar.gz: f14b6fece68809f8b9168469ddf5c7bed28a9b712c3f821b61e21c50cf964a88e611ed1d2119550214d185a35c209f804417e79e1f964fb4da6e3ddcf2bde1ab
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.28.0 (2023-01-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230102
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.27.0 (2022-12-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221211
|
11
|
+
|
3
12
|
### v0.26.0 (2022-12-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221129
|
@@ -52,7 +52,9 @@ module Google
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
# Represents a
|
55
|
+
# Represents a set of Cloud SQL instances. Each one will be available under /
|
56
|
+
# cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run
|
57
|
+
# for more information on how to connect Cloud SQL and Cloud Run.
|
56
58
|
class GoogleCloudRunV2CloudSqlInstance
|
57
59
|
include Google::Apis::Core::Hashable
|
58
60
|
|
@@ -186,7 +188,7 @@ module Google
|
|
186
188
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2Probe]
|
187
189
|
attr_accessor :liveness_probe
|
188
190
|
|
189
|
-
# Name of the container specified as a DNS_LABEL.
|
191
|
+
# Name of the container specified as a DNS_LABEL (RFC 1123).
|
190
192
|
# Corresponds to the JSON property `name`
|
191
193
|
# @return [String]
|
192
194
|
attr_accessor :name
|
@@ -337,6 +339,11 @@ module Google
|
|
337
339
|
# @return [Hash<String,String>]
|
338
340
|
attr_accessor :annotations
|
339
341
|
|
342
|
+
# Output only. The number of tasks which reached phase Cancelled.
|
343
|
+
# Corresponds to the JSON property `cancelledCount`
|
344
|
+
# @return [Fixnum]
|
345
|
+
attr_accessor :cancelled_count
|
346
|
+
|
340
347
|
# Output only. Represents time when the execution was completed. It is not
|
341
348
|
# guaranteed to be set in happens-before order across separate operations.
|
342
349
|
# Corresponds to the JSON property `completionTime`
|
@@ -407,6 +414,11 @@ module Google
|
|
407
414
|
# @return [String]
|
408
415
|
attr_accessor :launch_stage
|
409
416
|
|
417
|
+
# Output only. URI where logs for this execution can be found in Cloud Console.
|
418
|
+
# Corresponds to the JSON property `logUri`
|
419
|
+
# @return [String]
|
420
|
+
attr_accessor :log_uri
|
421
|
+
|
410
422
|
# Output only. The unique name of this Execution.
|
411
423
|
# Corresponds to the JSON property `name`
|
412
424
|
# @return [String]
|
@@ -436,6 +448,11 @@ module Google
|
|
436
448
|
attr_accessor :reconciling
|
437
449
|
alias_method :reconciling?, :reconciling
|
438
450
|
|
451
|
+
# Output only. The number of tasks which have retried at least once.
|
452
|
+
# Corresponds to the JSON property `retriedCount`
|
453
|
+
# @return [Fixnum]
|
454
|
+
attr_accessor :retried_count
|
455
|
+
|
439
456
|
# Output only. The number of actively running tasks.
|
440
457
|
# Corresponds to the JSON property `runningCount`
|
441
458
|
# @return [Fixnum]
|
@@ -485,6 +502,7 @@ module Google
|
|
485
502
|
# Update properties of this object
|
486
503
|
def update!(**args)
|
487
504
|
@annotations = args[:annotations] if args.key?(:annotations)
|
505
|
+
@cancelled_count = args[:cancelled_count] if args.key?(:cancelled_count)
|
488
506
|
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
489
507
|
@conditions = args[:conditions] if args.key?(:conditions)
|
490
508
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -496,10 +514,12 @@ module Google
|
|
496
514
|
@job = args[:job] if args.key?(:job)
|
497
515
|
@labels = args[:labels] if args.key?(:labels)
|
498
516
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
517
|
+
@log_uri = args[:log_uri] if args.key?(:log_uri)
|
499
518
|
@name = args[:name] if args.key?(:name)
|
500
519
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
501
520
|
@parallelism = args[:parallelism] if args.key?(:parallelism)
|
502
521
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
522
|
+
@retried_count = args[:retried_count] if args.key?(:retried_count)
|
503
523
|
@running_count = args[:running_count] if args.key?(:running_count)
|
504
524
|
@start_time = args[:start_time] if args.key?(:start_time)
|
505
525
|
@succeeded_count = args[:succeeded_count] if args.key?(:succeeded_count)
|
@@ -1143,6 +1163,17 @@ module Google
|
|
1143
1163
|
# @return [String]
|
1144
1164
|
attr_accessor :encryption_key
|
1145
1165
|
|
1166
|
+
# The action to take if the encryption key is revoked.
|
1167
|
+
# Corresponds to the JSON property `encryptionKeyRevocationAction`
|
1168
|
+
# @return [String]
|
1169
|
+
attr_accessor :encryption_key_revocation_action
|
1170
|
+
|
1171
|
+
# If encryption_key_revocation_action is SHUTDOWN, the duration before shutting
|
1172
|
+
# down all instances. The minimum increment is 1 hour.
|
1173
|
+
# Corresponds to the JSON property `encryptionKeyShutdownDuration`
|
1174
|
+
# @return [String]
|
1175
|
+
attr_accessor :encryption_key_shutdown_duration
|
1176
|
+
|
1146
1177
|
# Output only. A system-generated fingerprint for this version of the resource.
|
1147
1178
|
# May be used to detect modification conflict during updates.
|
1148
1179
|
# Corresponds to the JSON property `etag`
|
@@ -1272,6 +1303,8 @@ module Google
|
|
1272
1303
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1273
1304
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1274
1305
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
1306
|
+
@encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
|
1307
|
+
@encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
|
1275
1308
|
@etag = args[:etag] if args.key?(:etag)
|
1276
1309
|
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
|
1277
1310
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
@@ -1892,6 +1925,11 @@ module Google
|
|
1892
1925
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult]
|
1893
1926
|
attr_accessor :last_attempt_result
|
1894
1927
|
|
1928
|
+
# Output only. URI where logs for this execution can be found in Cloud Console.
|
1929
|
+
# Corresponds to the JSON property `logUri`
|
1930
|
+
# @return [String]
|
1931
|
+
attr_accessor :log_uri
|
1932
|
+
|
1895
1933
|
# Number of retries allowed per Task, before marking this Task failed.
|
1896
1934
|
# Corresponds to the JSON property `maxRetries`
|
1897
1935
|
# @return [Fixnum]
|
@@ -1989,6 +2027,7 @@ module Google
|
|
1989
2027
|
@job = args[:job] if args.key?(:job)
|
1990
2028
|
@labels = args[:labels] if args.key?(:labels)
|
1991
2029
|
@last_attempt_result = args[:last_attempt_result] if args.key?(:last_attempt_result)
|
2030
|
+
@log_uri = args[:log_uri] if args.key?(:log_uri)
|
1992
2031
|
@max_retries = args[:max_retries] if args.key?(:max_retries)
|
1993
2032
|
@name = args[:name] if args.key?(:name)
|
1994
2033
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
@@ -2237,7 +2276,9 @@ module Google
|
|
2237
2276
|
class GoogleCloudRunV2Volume
|
2238
2277
|
include Google::Apis::Core::Hashable
|
2239
2278
|
|
2240
|
-
# Represents a
|
2279
|
+
# Represents a set of Cloud SQL instances. Each one will be available under /
|
2280
|
+
# cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run
|
2281
|
+
# for more information on how to connect Cloud SQL and Cloud Run.
|
2241
2282
|
# Corresponds to the JSON property `cloudSqlInstance`
|
2242
2283
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
|
2243
2284
|
attr_accessor :cloud_sql_instance
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230102"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -404,6 +404,7 @@ module Google
|
|
404
404
|
# @private
|
405
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
406
406
|
hash :annotations, as: 'annotations'
|
407
|
+
property :cancelled_count, as: 'cancelledCount'
|
407
408
|
property :completion_time, as: 'completionTime'
|
408
409
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
409
410
|
|
@@ -416,10 +417,12 @@ module Google
|
|
416
417
|
property :job, as: 'job'
|
417
418
|
hash :labels, as: 'labels'
|
418
419
|
property :launch_stage, as: 'launchStage'
|
420
|
+
property :log_uri, as: 'logUri'
|
419
421
|
property :name, as: 'name'
|
420
422
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
421
423
|
property :parallelism, as: 'parallelism'
|
422
424
|
property :reconciling, as: 'reconciling'
|
425
|
+
property :retried_count, as: 'retriedCount'
|
423
426
|
property :running_count, as: 'runningCount'
|
424
427
|
property :start_time, as: 'startTime'
|
425
428
|
property :succeeded_count, as: 'succeededCount'
|
@@ -591,6 +594,8 @@ module Google
|
|
591
594
|
property :create_time, as: 'createTime'
|
592
595
|
property :delete_time, as: 'deleteTime'
|
593
596
|
property :encryption_key, as: 'encryptionKey'
|
597
|
+
property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
|
598
|
+
property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
|
594
599
|
property :etag, as: 'etag'
|
595
600
|
property :execution_environment, as: 'executionEnvironment'
|
596
601
|
property :expire_time, as: 'expireTime'
|
@@ -741,6 +746,7 @@ module Google
|
|
741
746
|
hash :labels, as: 'labels'
|
742
747
|
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult, decorator: Google::Apis::RunV2::GoogleCloudRunV2TaskAttemptResult::Representation
|
743
748
|
|
749
|
+
property :log_uri, as: 'logUri'
|
744
750
|
property :max_retries, as: 'maxRetries'
|
745
751
|
property :name, as: 'name'
|
746
752
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
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.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:
|
11
|
+
date: 2023-01-08 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.28.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Run Admin API V2
|