google-apis-run_v2 0.50.0 → 0.52.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 +8 -0
- data/lib/google/apis/run_v2/classes.rb +54 -0
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +30 -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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.52.0 (2023-10-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231022
|
6
|
+
|
7
|
+
### v0.51.0 (2023-10-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231008
|
10
|
+
|
3
11
|
### v0.50.0 (2023-10-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231001
|
@@ -1469,6 +1469,11 @@ module Google
|
|
1469
1469
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
|
1470
1470
|
attr_accessor :scaling
|
1471
1471
|
|
1472
|
+
# Effective settings for the current revision
|
1473
|
+
# Corresponds to the JSON property `scalingStatus`
|
1474
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus]
|
1475
|
+
attr_accessor :scaling_status
|
1476
|
+
|
1472
1477
|
# Output only. The name of the parent service.
|
1473
1478
|
# Corresponds to the JSON property `service`
|
1474
1479
|
# @return [String]
|
@@ -1542,6 +1547,7 @@ module Google
|
|
1542
1547
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
1543
1548
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1544
1549
|
@scaling = args[:scaling] if args.key?(:scaling)
|
1550
|
+
@scaling_status = args[:scaling_status] if args.key?(:scaling_status)
|
1545
1551
|
@service = args[:service] if args.key?(:service)
|
1546
1552
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1547
1553
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
@@ -1578,6 +1584,25 @@ module Google
|
|
1578
1584
|
end
|
1579
1585
|
end
|
1580
1586
|
|
1587
|
+
# Effective settings for the current revision
|
1588
|
+
class GoogleCloudRunV2RevisionScalingStatus
|
1589
|
+
include Google::Apis::Core::Hashable
|
1590
|
+
|
1591
|
+
# The current number of min instances provisioned for this revision.
|
1592
|
+
# Corresponds to the JSON property `desiredMinInstanceCount`
|
1593
|
+
# @return [Fixnum]
|
1594
|
+
attr_accessor :desired_min_instance_count
|
1595
|
+
|
1596
|
+
def initialize(**args)
|
1597
|
+
update!(**args)
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
# Update properties of this object
|
1601
|
+
def update!(**args)
|
1602
|
+
@desired_min_instance_count = args[:desired_min_instance_count] if args.key?(:desired_min_instance_count)
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1581
1606
|
# RevisionTemplate describes the data a revision should have when created from a
|
1582
1607
|
# template.
|
1583
1608
|
class GoogleCloudRunV2RevisionTemplate
|
@@ -1991,6 +2016,12 @@ module Google
|
|
1991
2016
|
attr_accessor :satisfies_pzs
|
1992
2017
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
1993
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
|
+
|
1994
2025
|
# RevisionTemplate describes the data a revision should have when created from a
|
1995
2026
|
# template.
|
1996
2027
|
# Corresponds to the JSON property `template`
|
@@ -2061,6 +2092,7 @@ module Google
|
|
2061
2092
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
2062
2093
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
2063
2094
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2095
|
+
@scaling = args[:scaling] if args.key?(:scaling)
|
2064
2096
|
@template = args[:template] if args.key?(:template)
|
2065
2097
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
2066
2098
|
@traffic = args[:traffic] if args.key?(:traffic)
|
@@ -2071,6 +2103,28 @@ module Google
|
|
2071
2103
|
end
|
2072
2104
|
end
|
2073
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
|
+
|
2074
2128
|
# TCPSocketAction describes an action based on opening a socket
|
2075
2129
|
class GoogleCloudRunV2TcpSocketAction
|
2076
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
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class GoogleCloudRunV2RevisionScalingStatus
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class GoogleCloudRunV2RevisionTemplate
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -220,6 +226,12 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class GoogleCloudRunV2ServiceScaling
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class GoogleCloudRunV2TcpSocketAction
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -697,6 +709,8 @@ module Google
|
|
697
709
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
698
710
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
699
711
|
|
712
|
+
property :scaling_status, as: 'scalingStatus', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus::Representation
|
713
|
+
|
700
714
|
property :service, as: 'service'
|
701
715
|
property :service_account, as: 'serviceAccount'
|
702
716
|
property :session_affinity, as: 'sessionAffinity'
|
@@ -718,6 +732,13 @@ module Google
|
|
718
732
|
end
|
719
733
|
end
|
720
734
|
|
735
|
+
class GoogleCloudRunV2RevisionScalingStatus
|
736
|
+
# @private
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
738
|
+
property :desired_min_instance_count, as: 'desiredMinInstanceCount'
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
721
742
|
class GoogleCloudRunV2RevisionTemplate
|
722
743
|
# @private
|
723
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -797,6 +818,8 @@ module Google
|
|
797
818
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
798
819
|
property :reconciling, as: 'reconciling'
|
799
820
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
821
|
+
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling::Representation
|
822
|
+
|
800
823
|
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate::Representation
|
801
824
|
|
802
825
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
@@ -811,6 +834,13 @@ module Google
|
|
811
834
|
end
|
812
835
|
end
|
813
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
|
+
|
814
844
|
class GoogleCloudRunV2TcpSocketAction
|
815
845
|
# @private
|
816
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: []
|