google-apis-container_v1beta1 0.56.0 → 0.57.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b5aa3f8d41821db6c8f59f541e240eabf93eb417fc4e24d61ae05594b1a6602
4
- data.tar.gz: 3e6c70be4b1e4786aa2e63ad75160f66678d08d38fb822cb167165bb0dd35839
3
+ metadata.gz: 1d7a09a8ef5418b98b31f042f39e9d0d1d23feba98d8494954afef1d04c295f1
4
+ data.tar.gz: ec2709239bef5d508ccd5c615684480c08b0012835bad5eccb349bcc48dbabdc
5
5
  SHA512:
6
- metadata.gz: 73a32aaf429d30490af43d0c2c5c440dd37f4f0993c7e918124124a2ee7e989a72eff4b364337fa1ddf3a17905e27557cdf0c7f946dd01a6636095f5e154b31b
7
- data.tar.gz: b94b767601edad00d17023e79ace5c8087d80b6d1df612d5961c786d1519eb42f5f3f2f95e9e574470e9da519636ef31b9bd9c51efb70557cea00e4c9f8aca5e
6
+ metadata.gz: 34406d53691aa234a2f3ec4881f25cfd39edf0c3c5b9e1e815a478acad96e981d879d3c1e53de23bb56673ad2cf7e090f3a80abb627c092574e49ffe2165e5c8
7
+ data.tar.gz: 96b9c49f404a71de57aaa03f4c98ba80185cec39edc16802f57db931b0d3816672deab1b3219f5581104419f5b2d606b578a5073b38fe5b8b7958b49479aa97e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.57.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230810
6
+
3
7
  ### v0.56.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230802
@@ -563,6 +563,20 @@ module Google
563
563
  end
564
564
  end
565
565
 
566
+ # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
567
+ # to scale both the green and blue pools.
568
+ class AutoscaledRolloutPolicy
569
+ include Google::Apis::Core::Hashable
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ end
578
+ end
579
+
566
580
  # Deprecated.
567
581
  class AvailableVersion
568
582
  include Google::Apis::Core::Hashable
@@ -722,6 +736,12 @@ module Google
722
736
  class BlueGreenSettings
723
737
  include Google::Apis::Core::Hashable
724
738
 
739
+ # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
740
+ # to scale both the green and blue pools.
741
+ # Corresponds to the JSON property `autoscaledRolloutPolicy`
742
+ # @return [Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy]
743
+ attr_accessor :autoscaled_rollout_policy
744
+
725
745
  # Time needed after draining entire blue pool. After this period, blue pool will
726
746
  # be cleaned up.
727
747
  # Corresponds to the JSON property `nodePoolSoakDuration`
@@ -739,6 +759,7 @@ module Google
739
759
 
740
760
  # Update properties of this object
741
761
  def update!(**args)
762
+ @autoscaled_rollout_policy = args[:autoscaled_rollout_policy] if args.key?(:autoscaled_rollout_policy)
742
763
  @node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
743
764
  @standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
744
765
  end
@@ -7089,6 +7110,20 @@ module Google
7089
7110
  # @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
7090
7111
  attr_accessor :confidential_nodes
7091
7112
 
7113
+ # Optional. The desired disk size for nodes in the node pool. Initiates an
7114
+ # upgrade operation that migrates the nodes in the node pool to the specified
7115
+ # disk size.
7116
+ # Corresponds to the JSON property `diskSizeGb`
7117
+ # @return [Fixnum]
7118
+ attr_accessor :disk_size_gb
7119
+
7120
+ # Optional. The desired disk type for nodes in the node pool. Initiates an
7121
+ # upgrade operation that migrates the nodes in the node pool to the specified
7122
+ # disk type.
7123
+ # Corresponds to the JSON property `diskType`
7124
+ # @return [String]
7125
+ attr_accessor :disk_type
7126
+
7092
7127
  # The current etag of the node pool. If an etag is provided and does not match
7093
7128
  # the current etag of the node pool, update will be blocked and an ABORTED error
7094
7129
  # will be returned.
@@ -7148,6 +7183,13 @@ module Google
7148
7183
  # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
7149
7184
  attr_accessor :logging_config
7150
7185
 
7186
+ # Optional. The desired machine type for nodes in the node pool. Initiates an
7187
+ # upgrade operation that migrates the nodes in the node pool to the specified
7188
+ # machine type.
7189
+ # Corresponds to the JSON property `machineType`
7190
+ # @return [String]
7191
+ attr_accessor :machine_type
7192
+
7151
7193
  # The name (project, location, cluster, node pool) of the node pool to update.
7152
7194
  # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
7153
7195
  # Corresponds to the JSON property `name`
@@ -7251,6 +7293,8 @@ module Google
7251
7293
  def update!(**args)
7252
7294
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
7253
7295
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
7296
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
7297
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
7254
7298
  @etag = args[:etag] if args.key?(:etag)
7255
7299
  @fast_socket = args[:fast_socket] if args.key?(:fast_socket)
7256
7300
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@@ -7261,6 +7305,7 @@ module Google
7261
7305
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
7262
7306
  @locations = args[:locations] if args.key?(:locations)
7263
7307
  @logging_config = args[:logging_config] if args.key?(:logging_config)
7308
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
7264
7309
  @name = args[:name] if args.key?(:name)
7265
7310
  @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
7266
7311
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.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 = "20230802"
25
+ REVISION = "20230810"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class AutoscaledRolloutPolicy
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class AvailableVersion
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -1247,6 +1253,12 @@ module Google
1247
1253
  end
1248
1254
  end
1249
1255
 
1256
+ class AutoscaledRolloutPolicy
1257
+ # @private
1258
+ class Representation < Google::Apis::Core::JsonRepresentation
1259
+ end
1260
+ end
1261
+
1250
1262
  class AvailableVersion
1251
1263
  # @private
1252
1264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1294,6 +1306,8 @@ module Google
1294
1306
  class BlueGreenSettings
1295
1307
  # @private
1296
1308
  class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :autoscaled_rollout_policy, as: 'autoscaledRolloutPolicy', class: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy::Representation
1310
+
1297
1311
  property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
1298
1312
  property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1beta1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::StandardRolloutPolicy::Representation
1299
1313
 
@@ -2954,6 +2968,8 @@ module Google
2954
2968
  property :cluster_id, as: 'clusterId'
2955
2969
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
2956
2970
 
2971
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
2972
+ property :disk_type, as: 'diskType'
2957
2973
  property :etag, as: 'etag'
2958
2974
  property :fast_socket, as: 'fastSocket', class: Google::Apis::ContainerV1beta1::FastSocket, decorator: Google::Apis::ContainerV1beta1::FastSocket::Representation
2959
2975
 
@@ -2971,6 +2987,7 @@ module Google
2971
2987
  collection :locations, as: 'locations'
2972
2988
  property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
2973
2989
 
2990
+ property :machine_type, as: 'machineType'
2974
2991
  property :name, as: 'name'
2975
2992
  property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
2976
2993
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-27 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-container_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1beta1