Skip to content

Commit 3774344

Browse files
feat: Automated regeneration of container v1 client (googleapis#25472)
Auto-created at 2026-01-25 10:22:11 +0000 using the toys pull request generator.
1 parent 324d116 commit 3774344

File tree

5 files changed

+68
-24
lines changed

5 files changed

+68
-24
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139912,6 +139912,7 @@
139912139912
"/container:v1/AdditionalIPRangesConfig": additional_ip_ranges_config
139913139913
"/container:v1/AdditionalIPRangesConfig/podIpv4RangeNames": pod_ipv4_range_names
139914139914
"/container:v1/AdditionalIPRangesConfig/podIpv4RangeNames/pod_ipv4_range_name": pod_ipv4_range_name
139915+
"/container:v1/AdditionalIPRangesConfig/status": status
139915139916
"/container:v1/AdditionalIPRangesConfig/subnetwork": subnetwork
139916139917
"/container:v1/AdditionalNodeNetworkConfig": additional_node_network_config
139917139918
"/container:v1/AdditionalNodeNetworkConfig/network": network
@@ -140131,6 +140132,7 @@
140131140132
"/container:v1/Cluster/workloadIdentityConfig": workload_identity_config
140132140133
"/container:v1/Cluster/zone": zone
140133140134
"/container:v1/ClusterAutoscaling": cluster_autoscaling
140135+
"/container:v1/ClusterAutoscaling/autopilotGeneralProfile": autopilot_general_profile
140134140136
"/container:v1/ClusterAutoscaling/autoprovisioningLocations": autoprovisioning_locations
140135140137
"/container:v1/ClusterAutoscaling/autoprovisioningLocations/autoprovisioning_location": autoprovisioning_location
140136140138
"/container:v1/ClusterAutoscaling/autoprovisioningNodePoolDefaults": autoprovisioning_node_pool_defaults
@@ -140592,6 +140594,7 @@
140592140594
"/container:v1/NodeConfig/bootDisk": boot_disk
140593140595
"/container:v1/NodeConfig/bootDiskKmsKey": boot_disk_kms_key
140594140596
"/container:v1/NodeConfig/confidentialNodes": confidential_nodes
140597+
"/container:v1/NodeConfig/consolidationDelay": consolidation_delay
140595140598
"/container:v1/NodeConfig/containerdConfig": containerd_config
140596140599
"/container:v1/NodeConfig/diskSizeGb": disk_size_gb
140597140600
"/container:v1/NodeConfig/diskType": disk_type
@@ -141066,6 +141069,7 @@
141066141069
"/container:v1/UpdateNodePoolRequest/bootDisk": boot_disk
141067141070
"/container:v1/UpdateNodePoolRequest/clusterId": cluster_id
141068141071
"/container:v1/UpdateNodePoolRequest/confidentialNodes": confidential_nodes
141072+
"/container:v1/UpdateNodePoolRequest/consolidationDelay": consolidation_delay
141069141073
"/container:v1/UpdateNodePoolRequest/containerdConfig": containerd_config
141070141074
"/container:v1/UpdateNodePoolRequest/diskSizeGb": disk_size_gb
141071141075
"/container:v1/UpdateNodePoolRequest/diskType": disk_type

generated/google-apis-container_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-container_v1
22

3+
### v0.112.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260113
6+
37
### v0.111.0 (2025-12-14)
48

59
* Regenerated from discovery document revision 20251202

generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb

Lines changed: 54 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContainerV1
1818
# Version of the google-apis-container_v1 gem
19-
GEM_VERSION = "0.111.0"
19+
GEM_VERSION = "0.112.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251202"
25+
REVISION = "20260113"
2626
end
2727
end
2828
end

generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,7 @@ class AdditionalIpRangesConfig
13771377
# @private
13781378
class Representation < Google::Apis::Core::JsonRepresentation
13791379
collection :pod_ipv4_range_names, as: 'podIpv4RangeNames'
1380+
property :status, as: 'status'
13801381
property :subnetwork, as: 'subnetwork'
13811382
end
13821383
end
@@ -1817,6 +1818,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
18171818
class ClusterAutoscaling
18181819
# @private
18191820
class Representation < Google::Apis::Core::JsonRepresentation
1821+
property :autopilot_general_profile, as: 'autopilotGeneralProfile'
18201822
collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
18211823
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
18221824

@@ -2808,6 +2810,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
28082810
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
28092811
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
28102812

2813+
property :consolidation_delay, as: 'consolidationDelay'
28112814
property :containerd_config, as: 'containerdConfig', class: Google::Apis::ContainerV1::ContainerdConfig, decorator: Google::Apis::ContainerV1::ContainerdConfig::Representation
28122815

28132816
property :disk_size_gb, as: 'diskSizeGb'
@@ -3732,6 +3735,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
37323735
property :cluster_id, as: 'clusterId'
37333736
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
37343737

3738+
property :consolidation_delay, as: 'consolidationDelay'
37353739
property :containerd_config, as: 'containerdConfig', class: Google::Apis::ContainerV1::ContainerdConfig, decorator: Google::Apis::ContainerV1::ContainerdConfig::Representation
37363740

37373741
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'

0 commit comments

Comments
 (0)