google-apis-run_v2 0.51.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2b7f8b33f7e6d06f541ebdbbb0f7b16615e72e4b6bd1dbf87e36265603db5ee
4
- data.tar.gz: fa1bb550e3f963f45ad8c538c8c90fc09c614b71ddea6e8d6e9acdc8acf840e7
3
+ metadata.gz: 6ee78dd5ee5e5b77ea801e3774d2a03bc0bb5f39e2c2f9ba15e49b91456bdfb2
4
+ data.tar.gz: c23c16f574eed024b4f061234114d1ad4915e1fe1ce773eaef74886cf1eb55aa
5
5
  SHA512:
6
- metadata.gz: 0f847d2a99321e562bbf7d0bb1d34babae9660aafd95744a313ab922d227544ff448826ee50c837d596043d8e4de5f6cc66ac709d5993ac0de3506c57b1c5ab2
7
- data.tar.gz: d8c05ec79b74c26bcbfb03744d7c864d148e0bc8f0bf201dab9f08259080ef95cc38e4258866f598733e3ff22bc15d69692bcbe38ebe09fda95e6c2336ad256e
6
+ metadata.gz: 3f56853f8ae5fc0e51cea4f4ce8807c8bad51c4b69880cad1a890feda5611a4f2d3f19c3855f943e38755bfcfcc8b4c1e17555d3a0d3a895406fb13bb248f861
7
+ data.tar.gz: c3cc8fa4c67c78d082161659135c4aab853e2e76b053d53e25d01285b5f0c8b2ce9f8e8fa563e7cc9326fe80e3d9a5dd83b772156910d2ed1a12a96586915d4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.53.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231112
6
+
7
+ ### v0.52.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231022
10
+
3
11
  ### v0.51.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231008
@@ -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 applied at the service level rather than at the revision
2020
+ # level.
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 applied at the service level rather than at the revision
2107
+ # level.
2108
+ class GoogleCloudRunV2ServiceScaling
2109
+ include Google::Apis::Core::Hashable
2110
+
2111
+ # total min instances for the service. This number of instances is divided among
2112
+ # all revisions with specified traffic based on the percent of traffic they are
2113
+ # 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.51.0"
19
+ GEM_VERSION = "0.53.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 = "20231008"
25
+ REVISION = "20231112"
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.51.0
4
+ version: 0.53.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-15 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.53.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: []