@@ -81,6 +81,11 @@ class AdditionalIpRangesConfig
8181 # @return [Array<String>]
8282 attr_accessor :pod_ipv4_range_names
8383
84+ # Draining status of the additional subnet.
85+ # Corresponds to the JSON property `status`
86+ # @return [String]
87+ attr_accessor :status
88+
8489 # Name of the subnetwork. This can be the full path of the subnetwork or just
8590 # the name. Example1: my-subnet Example2: projects/gke-project/regions/us-
8691 # central1/subnetworks/my-subnet
@@ -95,6 +100,7 @@ def initialize(**args)
95100 # Update properties of this object
96101 def update! ( **args )
97102 @pod_ipv4_range_names = args [ :pod_ipv4_range_names ] if args . key? ( :pod_ipv4_range_names )
103+ @status = args [ :status ] if args . key? ( :status )
98104 @subnetwork = args [ :subnetwork ] if args . key? ( :subnetwork )
99105 end
100106 end
@@ -1198,7 +1204,7 @@ class Cluster
11981204 # @return [Google::Apis::ContainerV1::BinaryAuthorization]
11991205 attr_accessor :binary_authorization
12001206
1201- # The IP address range of the container pods in this cluster, in [CIDR](http ://
1207+ # The IP address range of the container pods in this cluster, in [CIDR](https ://
12021208 # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
12031209 # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
12041210 # in `10.0.0.0/8`.
@@ -1607,7 +1613,7 @@ class Cluster
16071613 attr_accessor :self_link
16081614
16091615 # Output only. The IP address range of the Kubernetes services in this cluster,
1610- # in [CIDR](http ://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1616+ # in [CIDR](https ://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
16111617 # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
16121618 # /16` from the container CIDR.
16131619 # Corresponds to the JSON property `servicesIpv4Cidr`
@@ -1637,8 +1643,8 @@ class Cluster
16371643 attr_accessor :subnetwork
16381644
16391645 # Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](
1640- # http ://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.
1641- # 2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The
1646+ # https ://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
1647+ # 1. 2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The
16421648 # end of life date for 2VM TPU is 2025-04-25.
16431649 # Corresponds to the JSON property `tpuIpv4CidrBlock`
16441650 # @return [String]
@@ -1764,6 +1770,12 @@ def update!(**args)
17641770 class ClusterAutoscaling
17651771 include Google ::Apis ::Core ::Hashable
17661772
1773+ # Autopilot general profile for the cluster, which defines the configuration for
1774+ # the cluster.
1775+ # Corresponds to the JSON property `autopilotGeneralProfile`
1776+ # @return [String]
1777+ attr_accessor :autopilot_general_profile
1778+
17671779 # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
17681780 # docs/zones#available) in which the NodePool's nodes can be created by NAP.
17691781 # Corresponds to the JSON property `autoprovisioningLocations`
@@ -1804,6 +1816,7 @@ def initialize(**args)
18041816
18051817 # Update properties of this object
18061818 def update! ( **args )
1819+ @autopilot_general_profile = args [ :autopilot_general_profile ] if args . key? ( :autopilot_general_profile )
18071820 @autoprovisioning_locations = args [ :autoprovisioning_locations ] if args . key? ( :autoprovisioning_locations )
18081821 @autoprovisioning_node_pool_defaults = args [ :autoprovisioning_node_pool_defaults ] if args . key? ( :autoprovisioning_node_pool_defaults )
18091822 @autoscaling_profile = args [ :autoscaling_profile ] if args . key? ( :autoscaling_profile )
@@ -3989,10 +4002,10 @@ class IpAllocationPolicy
39894002 # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
39904003 # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
39914004 # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
3992- # specific netmask. Set to a [CIDR](http ://en.wikipedia.org/wiki/Classless_Inter-
3993- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
3994- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
3995- # specific range to use.
4005+ # specific netmask. Set to a [CIDR](https ://en.wikipedia.org/wiki/
4006+ # Classless_Inter- Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4007+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4008+ # to pick a specific range to use.
39964009 # Corresponds to the JSON property `clusterIpv4CidrBlock`
39974010 # @return [String]
39984011 attr_accessor :cluster_ipv4_cidr_block
@@ -4037,10 +4050,10 @@ class IpAllocationPolicy
40374050 # The IP address range of the instance IPs in this cluster. This is applicable
40384051 # only if `create_subnetwork` is true. Set to blank to have a range chosen with
40394052 # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
4040- # specific netmask. Set to a [CIDR](http ://en.wikipedia.org/wiki/Classless_Inter-
4041- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
4042- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
4043- # specific range to use.
4053+ # specific netmask. Set to a [CIDR](https ://en.wikipedia.org/wiki/
4054+ # Classless_Inter- Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4055+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4056+ # to pick a specific range to use.
40444057 # Corresponds to the JSON property `nodeIpv4CidrBlock`
40454058 # @return [String]
40464059 attr_accessor :node_ipv4_cidr_block
@@ -4059,7 +4072,7 @@ class IpAllocationPolicy
40594072 # will be automatically chosen with the default size. This field is only
40604073 # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
40614074 # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
4062- # with a specific netmask. Set to a [CIDR](http ://en.wikipedia.org/wiki/
4075+ # with a specific netmask. Set to a [CIDR](https ://en.wikipedia.org/wiki/
40634076 # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
40644077 # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
40654078 # to pick a specific range to use.
@@ -4100,11 +4113,11 @@ class IpAllocationPolicy
41004113 # range will be automatically chosen with the default size. This field is only
41014114 # applicable when `use_ip_aliases` is true. If unspecified, the range will use
41024115 # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
4103- # specific netmask. Set to a [CIDR](http ://en.wikipedia.org/wiki/Classless_Inter-
4104- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
4105- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
4106- # specific range to use. This field is deprecated due to the deprecation of 2VM
4107- # TPU. The end of life date for 2VM TPU is 2025-04-25.
4116+ # specific netmask. Set to a [CIDR](https ://en.wikipedia.org/wiki/
4117+ # Classless_Inter- Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4118+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4119+ # to pick a specific range to use. This field is deprecated due to the
4120+ # deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.
41084121 # Corresponds to the JSON property `tpuIpv4CidrBlock`
41094122 # @return [String]
41104123 attr_accessor :tpu_ipv4_cidr_block
@@ -5405,6 +5418,13 @@ class NodeConfig
54055418 # @return [Google::Apis::ContainerV1::ConfidentialNodes]
54065419 attr_accessor :confidential_nodes
54075420
5421+ # Consolidation delay defines duration after which the Cluster Autoscaler can
5422+ # scale down underutilized nodes. If not set, nodes are scaled down by default
5423+ # behavior, i.e. according to the chosen autoscaling profile.
5424+ # Corresponds to the JSON property `consolidationDelay`
5425+ # @return [String]
5426+ attr_accessor :consolidation_delay
5427+
54085428 # ContainerdConfig contains configuration to customize containerd.
54095429 # Corresponds to the JSON property `containerdConfig`
54105430 # @return [Google::Apis::ContainerV1::ContainerdConfig]
@@ -5693,6 +5713,7 @@ def update!(**args)
56935713 @boot_disk = args [ :boot_disk ] if args . key? ( :boot_disk )
56945714 @boot_disk_kms_key = args [ :boot_disk_kms_key ] if args . key? ( :boot_disk_kms_key )
56955715 @confidential_nodes = args [ :confidential_nodes ] if args . key? ( :confidential_nodes )
5716+ @consolidation_delay = args [ :consolidation_delay ] if args . key? ( :consolidation_delay )
56965717 @containerd_config = args [ :containerd_config ] if args . key? ( :containerd_config )
56975718 @disk_size_gb = args [ :disk_size_gb ] if args . key? ( :disk_size_gb )
56985719 @disk_type = args [ :disk_type ] if args . key? ( :disk_type )
@@ -6155,10 +6176,13 @@ class NodeNetworkConfig
61556176 # @return [String]
61566177 attr_accessor :pod_range
61576178
6158- # The subnetwork path for the node pool. Format: projects/`project`/regions/`
6159- # region`/subnetworks/`subnetwork` If the cluster is associated with multiple
6160- # subnetworks, the subnetwork for the node pool is picked based on the IP
6161- # utilization during node pool creation and is immutable.
6179+ # Optional. The subnetwork name/path for the node pool. Format: projects/`
6180+ # project`/regions/`region`/subnetworks/`subnetwork` If the cluster is
6181+ # associated with multiple subnetworks, the subnetwork can be either: 1. A user
6182+ # supplied subnetwork name/full path during node pool creation. Example1: my-
6183+ # subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-
6184+ # subnet 2. A subnetwork path picked based on the IP utilization during node
6185+ # pool creation and is immutable.
61626186 # Corresponds to the JSON property `subnetwork`
61636187 # @return [String]
61646188 attr_accessor :subnetwork
@@ -9136,6 +9160,13 @@ class UpdateNodePoolRequest
91369160 # @return [Google::Apis::ContainerV1::ConfidentialNodes]
91379161 attr_accessor :confidential_nodes
91389162
9163+ # Consolidation delay defines duration after which the Cluster Autoscaler can
9164+ # scale down underutilized nodes. If not set, nodes are scaled down by default
9165+ # behavior, i.e. according to the chosen autoscaling profile.
9166+ # Corresponds to the JSON property `consolidationDelay`
9167+ # @return [String]
9168+ attr_accessor :consolidation_delay
9169+
91399170 # ContainerdConfig contains configuration to customize containerd.
91409171 # Corresponds to the JSON property `containerdConfig`
91419172 # @return [Google::Apis::ContainerV1::ContainerdConfig]
@@ -9385,6 +9416,7 @@ def update!(**args)
93859416 @boot_disk = args [ :boot_disk ] if args . key? ( :boot_disk )
93869417 @cluster_id = args [ :cluster_id ] if args . key? ( :cluster_id )
93879418 @confidential_nodes = args [ :confidential_nodes ] if args . key? ( :confidential_nodes )
9419+ @consolidation_delay = args [ :consolidation_delay ] if args . key? ( :consolidation_delay )
93889420 @containerd_config = args [ :containerd_config ] if args . key? ( :containerd_config )
93899421 @disk_size_gb = args [ :disk_size_gb ] if args . key? ( :disk_size_gb )
93909422 @disk_type = args [ :disk_type ] if args . key? ( :disk_type )
0 commit comments