Skip to content

Commit a5d55a5

Browse files
feat: Automated regeneration of container v1 client
1 parent d872bb6 commit a5d55a5

File tree

5 files changed

+64
-3
lines changed

5 files changed

+64
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133796,6 +133796,7 @@
133796133796
"/container:v1/LinuxNodeConfig": linux_node_config
133797133797
"/container:v1/LinuxNodeConfig/cgroupMode": cgroup_mode
133798133798
"/container:v1/LinuxNodeConfig/hugepages": hugepages
133799+
"/container:v1/LinuxNodeConfig/nodeKernelModuleLoading": node_kernel_module_loading
133799133800
"/container:v1/LinuxNodeConfig/sysctls": sysctls
133800133801
"/container:v1/LinuxNodeConfig/sysctls/sysctl": sysctl
133801133802
"/container:v1/LinuxNodeConfig/transparentHugepageDefrag": transparent_hugepage_defrag
@@ -133830,6 +133831,7 @@
133830133831
"/container:v1/LustreCsiDriverConfig/enableLegacyLustrePort": enable_legacy_lustre_port
133831133832
"/container:v1/LustreCsiDriverConfig/enabled": enabled
133832133833
"/container:v1/MaintenanceExclusionOptions": maintenance_exclusion_options
133834+
"/container:v1/MaintenanceExclusionOptions/endTimeBehavior": end_time_behavior
133833133835
"/container:v1/MaintenanceExclusionOptions/scope": scope
133834133836
"/container:v1/MaintenancePolicy": maintenance_policy
133835133837
"/container:v1/MaintenancePolicy/resourceVersion": resource_version
@@ -133968,6 +133970,8 @@
133968133970
"/container:v1/NodeConfigDefaults/gcfsConfig": gcfs_config
133969133971
"/container:v1/NodeConfigDefaults/loggingConfig": logging_config
133970133972
"/container:v1/NodeConfigDefaults/nodeKubeletConfig": node_kubelet_config
133973+
"/container:v1/NodeKernelModuleLoading": node_kernel_module_loading
133974+
"/container:v1/NodeKernelModuleLoading/policy": policy
133971133975
"/container:v1/NodeKubeletConfig": node_kubelet_config
133972133976
"/container:v1/NodeKubeletConfig/allowedUnsafeSysctls": allowed_unsafe_sysctls
133973133977
"/container:v1/NodeKubeletConfig/allowedUnsafeSysctls/allowed_unsafe_sysctl": allowed_unsafe_sysctl

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.106.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251014
6+
37
### v0.105.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20250930

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

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4250,6 +4250,11 @@ class LinuxNodeConfig
42504250
# @return [Google::Apis::ContainerV1::HugepagesConfig]
42514251
attr_accessor :hugepages
42524252

4253+
# Configuration for kernel module loading on nodes.
4254+
# Corresponds to the JSON property `nodeKernelModuleLoading`
4255+
# @return [Google::Apis::ContainerV1::NodeKernelModuleLoading]
4256+
attr_accessor :node_kernel_module_loading
4257+
42534258
# The Linux kernel parameters to be applied to the nodes and all pods running on
42544259
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
42554260
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
@@ -4294,6 +4299,7 @@ def initialize(**args)
42944299
def update!(**args)
42954300
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
42964301
@hugepages = args[:hugepages] if args.key?(:hugepages)
4302+
@node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
42974303
@sysctls = args[:sysctls] if args.key?(:sysctls)
42984304
@transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
42994305
@transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
@@ -4523,6 +4529,11 @@ def update!(**args)
45234529
class MaintenanceExclusionOptions
45244530
include Google::Apis::Core::Hashable
45254531

4532+
# EndTimeBehavior specifies the behavior of the exclusion end time.
4533+
# Corresponds to the JSON property `endTimeBehavior`
4534+
# @return [String]
4535+
attr_accessor :end_time_behavior
4536+
45264537
# Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
45274538
# Corresponds to the JSON property `scope`
45284539
# @return [String]
@@ -4534,6 +4545,7 @@ def initialize(**args)
45344545

45354546
# Update properties of this object
45364547
def update!(**args)
4548+
@end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior)
45374549
@scope = args[:scope] if args.key?(:scope)
45384550
end
45394551
end
@@ -5581,6 +5593,25 @@ def update!(**args)
55815593
end
55825594
end
55835595

5596+
# Configuration for kernel module loading on nodes.
5597+
class NodeKernelModuleLoading
5598+
include Google::Apis::Core::Hashable
5599+
5600+
# Set the node module loading policy for nodes in the node pool.
5601+
# Corresponds to the JSON property `policy`
5602+
# @return [String]
5603+
attr_accessor :policy
5604+
5605+
def initialize(**args)
5606+
update!(**args)
5607+
end
5608+
5609+
# Update properties of this object
5610+
def update!(**args)
5611+
@policy = args[:policy] if args.key?(:policy)
5612+
end
5613+
end
5614+
55845615
# Node kubelet configs.
55855616
class NodeKubeletConfig
55865617
include Google::Apis::Core::Hashable
@@ -8930,7 +8961,13 @@ class UpdateNodePoolRequest
89308961
# final_documentation_domain`/compute/docs/zones#available) in which the node
89318962
# pool's nodes should be located. Changing the locations for a node pool will
89328963
# result in nodes being either created or removed from the node pool, depending
8933-
# on whether locations are being added or removed.
8964+
# on whether locations are being added or removed. Warning: It is recommended to
8965+
# update node pool locations in a standalone API call. Do not combine a location
8966+
# update with changes to other fields (such as `tags`, `labels`, `taints`, etc.)
8967+
# in the same request. Otherwise, the API performs a structural modification
8968+
# where changes to other fields will only apply to newly created nodes and will
8969+
# not be applied to existing nodes in the node pool. To ensure all nodes are
8970+
# updated consistently, use a separate API call for location changes.
89348971
# Corresponds to the JSON property `locations`
89358972
# @return [Array<String>]
89368973
attr_accessor :locations

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.105.0"
19+
GEM_VERSION = "0.106.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 = "20250930"
25+
REVISION = "20251014"
2626
end
2727
end
2828
end

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
754754
include Google::Apis::Core::JsonObjectSupport
755755
end
756756

757+
class NodeKernelModuleLoading
758+
class Representation < Google::Apis::Core::JsonRepresentation; end
759+
760+
include Google::Apis::Core::JsonObjectSupport
761+
end
762+
757763
class NodeKubeletConfig
758764
class Representation < Google::Apis::Core::JsonRepresentation; end
759765

@@ -2412,6 +2418,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
24122418
property :cgroup_mode, as: 'cgroupMode'
24132419
property :hugepages, as: 'hugepages', class: Google::Apis::ContainerV1::HugepagesConfig, decorator: Google::Apis::ContainerV1::HugepagesConfig::Representation
24142420

2421+
property :node_kernel_module_loading, as: 'nodeKernelModuleLoading', class: Google::Apis::ContainerV1::NodeKernelModuleLoading, decorator: Google::Apis::ContainerV1::NodeKernelModuleLoading::Representation
2422+
24152423
hash :sysctls, as: 'sysctls'
24162424
property :transparent_hugepage_defrag, as: 'transparentHugepageDefrag'
24172425
property :transparent_hugepage_enabled, as: 'transparentHugepageEnabled'
@@ -2493,6 +2501,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
24932501
class MaintenanceExclusionOptions
24942502
# @private
24952503
class Representation < Google::Apis::Core::JsonRepresentation
2504+
property :end_time_behavior, as: 'endTimeBehavior'
24962505
property :scope, as: 'scope'
24972506
end
24982507
end
@@ -2762,6 +2771,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
27622771
end
27632772
end
27642773

2774+
class NodeKernelModuleLoading
2775+
# @private
2776+
class Representation < Google::Apis::Core::JsonRepresentation
2777+
property :policy, as: 'policy'
2778+
end
2779+
end
2780+
27652781
class NodeKubeletConfig
27662782
# @private
27672783
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)