diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..fba08acab56 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -133796,6 +133796,7 @@ "/container:v1/LinuxNodeConfig": linux_node_config "/container:v1/LinuxNodeConfig/cgroupMode": cgroup_mode "/container:v1/LinuxNodeConfig/hugepages": hugepages +"/container:v1/LinuxNodeConfig/nodeKernelModuleLoading": node_kernel_module_loading "/container:v1/LinuxNodeConfig/sysctls": sysctls "/container:v1/LinuxNodeConfig/sysctls/sysctl": sysctl "/container:v1/LinuxNodeConfig/transparentHugepageDefrag": transparent_hugepage_defrag @@ -133830,6 +133831,7 @@ "/container:v1/LustreCsiDriverConfig/enableLegacyLustrePort": enable_legacy_lustre_port "/container:v1/LustreCsiDriverConfig/enabled": enabled "/container:v1/MaintenanceExclusionOptions": maintenance_exclusion_options +"/container:v1/MaintenanceExclusionOptions/endTimeBehavior": end_time_behavior "/container:v1/MaintenanceExclusionOptions/scope": scope "/container:v1/MaintenancePolicy": maintenance_policy "/container:v1/MaintenancePolicy/resourceVersion": resource_version @@ -133968,6 +133970,8 @@ "/container:v1/NodeConfigDefaults/gcfsConfig": gcfs_config "/container:v1/NodeConfigDefaults/loggingConfig": logging_config "/container:v1/NodeConfigDefaults/nodeKubeletConfig": node_kubelet_config +"/container:v1/NodeKernelModuleLoading": node_kernel_module_loading +"/container:v1/NodeKernelModuleLoading/policy": policy "/container:v1/NodeKubeletConfig": node_kubelet_config "/container:v1/NodeKubeletConfig/allowedUnsafeSysctls": allowed_unsafe_sysctls "/container:v1/NodeKubeletConfig/allowedUnsafeSysctls/allowed_unsafe_sysctl": allowed_unsafe_sysctl diff --git a/generated/google-apis-container_v1/CHANGELOG.md b/generated/google-apis-container_v1/CHANGELOG.md index c4eb5a47356..d76d72def94 100644 --- a/generated/google-apis-container_v1/CHANGELOG.md +++ b/generated/google-apis-container_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-container_v1 +### v0.106.0 (2025-10-26) + +* Regenerated from discovery document revision 20251014 + ### v0.105.0 (2025-10-19) * Regenerated from discovery document revision 20250930 diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb index f5394dcc72c..dfdf7247a24 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb @@ -4250,6 +4250,11 @@ class LinuxNodeConfig # @return [Google::Apis::ContainerV1::HugepagesConfig] attr_accessor :hugepages + # Configuration for kernel module loading on nodes. + # Corresponds to the JSON property `nodeKernelModuleLoading` + # @return [Google::Apis::ContainerV1::NodeKernelModuleLoading] + attr_accessor :node_kernel_module_loading + # The Linux kernel parameters to be applied to the nodes and all pods running on # the nodes. The following parameters are supported. net.core.busy_poll net.core. # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default @@ -4294,6 +4299,7 @@ def initialize(**args) def update!(**args) @cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode) @hugepages = args[:hugepages] if args.key?(:hugepages) + @node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading) @sysctls = args[:sysctls] if args.key?(:sysctls) @transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag) @transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled) @@ -4523,6 +4529,11 @@ def update!(**args) class MaintenanceExclusionOptions include Google::Apis::Core::Hashable + # EndTimeBehavior specifies the behavior of the exclusion end time. + # Corresponds to the JSON property `endTimeBehavior` + # @return [String] + attr_accessor :end_time_behavior + # Scope specifies the upgrade scope which upgrades are blocked by the exclusion. # Corresponds to the JSON property `scope` # @return [String] @@ -4534,6 +4545,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior) @scope = args[:scope] if args.key?(:scope) end end @@ -5581,6 +5593,25 @@ def update!(**args) end end + # Configuration for kernel module loading on nodes. + class NodeKernelModuleLoading + include Google::Apis::Core::Hashable + + # Set the node module loading policy for nodes in the node pool. + # Corresponds to the JSON property `policy` + # @return [String] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + # Node kubelet configs. class NodeKubeletConfig include Google::Apis::Core::Hashable @@ -8930,7 +8961,13 @@ class UpdateNodePoolRequest # final_documentation_domain`/compute/docs/zones#available) in which the node # pool's nodes should be located. Changing the locations for a node pool will # result in nodes being either created or removed from the node pool, depending - # on whether locations are being added or removed. + # on whether locations are being added or removed. Warning: It is recommended to + # update node pool locations in a standalone API call. Do not combine a location + # update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) + # in the same request. Otherwise, the API performs a structural modification + # where changes to other fields will only apply to newly created nodes and will + # not be applied to existing nodes in the node pool. To ensure all nodes are + # updated consistently, use a separate API call for location changes. # Corresponds to the JSON property `locations` # @return [Array] attr_accessor :locations diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb index dd4e7e4a5d7..0fd6c3ec0b2 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContainerV1 # Version of the google-apis-container_v1 gem - GEM_VERSION = "0.105.0" + GEM_VERSION = "0.106.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250930" + REVISION = "20251014" end end end diff --git a/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb b/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb index d1157e79a30..42289f03910 100644 --- a/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb +++ b/generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb @@ -754,6 +754,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class NodeKernelModuleLoading + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NodeKubeletConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2412,6 +2418,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :cgroup_mode, as: 'cgroupMode' property :hugepages, as: 'hugepages', class: Google::Apis::ContainerV1::HugepagesConfig, decorator: Google::Apis::ContainerV1::HugepagesConfig::Representation + property :node_kernel_module_loading, as: 'nodeKernelModuleLoading', class: Google::Apis::ContainerV1::NodeKernelModuleLoading, decorator: Google::Apis::ContainerV1::NodeKernelModuleLoading::Representation + hash :sysctls, as: 'sysctls' property :transparent_hugepage_defrag, as: 'transparentHugepageDefrag' property :transparent_hugepage_enabled, as: 'transparentHugepageEnabled' @@ -2493,6 +2501,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class MaintenanceExclusionOptions # @private class Representation < Google::Apis::Core::JsonRepresentation + property :end_time_behavior, as: 'endTimeBehavior' property :scope, as: 'scope' end end @@ -2762,6 +2771,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class NodeKernelModuleLoading + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy' + end + end + class NodeKubeletConfig # @private class Representation < Google::Apis::Core::JsonRepresentation