google-apis-run_v2 0.51.0 → 0.52.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_v2/classes.rb +29 -0
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +15 -0
- 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: d76577a1cfa117a21f30d5bbf09f6fceed46816c14b542f340e0c21f516d8523
|
4
|
+
data.tar.gz: 82aecd615b26f1db720c9cff562c20ec93f7d0ce73f24abb12ed583f75d45681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18514062a115aa72de7f9dca523e4bd77b6a10ac5a1350c534ef71d1fdeb19aee5790e86d2f13852c9aa857c4f7d422f0fb2fd3ce72c134abf087f0cca3dc61b
|
7
|
+
data.tar.gz: a0dca15b057a27a75e23bd36bb316849daa3ef5b300c06c247754c6ea01e8f1e6249887fe067bd5209277bf167e4737ea30a188ca998846b966c40adb7902072
|
data/CHANGELOG.md
CHANGED
@@ -2016,6 +2016,12 @@ module Google
|
|
2016
2016
|
attr_accessor :satisfies_pzs
|
2017
2017
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
2018
2018
|
|
2019
|
+
# Scaling settings that apply to the service as a whole rather than the
|
2020
|
+
# individual revision.
|
2021
|
+
# Corresponds to the JSON property `scaling`
|
2022
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling]
|
2023
|
+
attr_accessor :scaling
|
2024
|
+
|
2019
2025
|
# RevisionTemplate describes the data a revision should have when created from a
|
2020
2026
|
# template.
|
2021
2027
|
# Corresponds to the JSON property `template`
|
@@ -2086,6 +2092,7 @@ module Google
|
|
2086
2092
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
2087
2093
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
2088
2094
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2095
|
+
@scaling = args[:scaling] if args.key?(:scaling)
|
2089
2096
|
@template = args[:template] if args.key?(:template)
|
2090
2097
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
2091
2098
|
@traffic = args[:traffic] if args.key?(:traffic)
|
@@ -2096,6 +2103,28 @@ module Google
|
|
2096
2103
|
end
|
2097
2104
|
end
|
2098
2105
|
|
2106
|
+
# Scaling settings that apply to the service as a whole rather than the
|
2107
|
+
# individual revision.
|
2108
|
+
class GoogleCloudRunV2ServiceScaling
|
2109
|
+
include Google::Apis::Core::Hashable
|
2110
|
+
|
2111
|
+
# total min instances for the service. This number of instances will be divide
|
2112
|
+
# among all revisions with specified traffic based on the percent of traffic
|
2113
|
+
# they are receiving. (ALPHA)
|
2114
|
+
# Corresponds to the JSON property `minInstanceCount`
|
2115
|
+
# @return [Fixnum]
|
2116
|
+
attr_accessor :min_instance_count
|
2117
|
+
|
2118
|
+
def initialize(**args)
|
2119
|
+
update!(**args)
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
# Update properties of this object
|
2123
|
+
def update!(**args)
|
2124
|
+
@min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
|
2125
|
+
end
|
2126
|
+
end
|
2127
|
+
|
2099
2128
|
# TCPSocketAction describes an action based on opening a socket
|
2100
2129
|
class GoogleCloudRunV2TcpSocketAction
|
2101
2130
|
include Google::Apis::Core::Hashable
|
@@ -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.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231022"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class GoogleCloudRunV2ServiceScaling
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class GoogleCloudRunV2TcpSocketAction
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -812,6 +818,8 @@ module Google
|
|
812
818
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
813
819
|
property :reconciling, as: 'reconciling'
|
814
820
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
821
|
+
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling::Representation
|
822
|
+
|
815
823
|
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate::Representation
|
816
824
|
|
817
825
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
@@ -826,6 +834,13 @@ module Google
|
|
826
834
|
end
|
827
835
|
end
|
828
836
|
|
837
|
+
class GoogleCloudRunV2ServiceScaling
|
838
|
+
# @private
|
839
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
840
|
+
property :min_instance_count, as: 'minInstanceCount'
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
829
844
|
class GoogleCloudRunV2TcpSocketAction
|
830
845
|
# @private
|
831
846
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.52.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-10-
|
11
|
+
date: 2023-10-29 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.52.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: []
|