From 8fa37c4c07567b9996fe634a2df127b56ba014cf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Jun 2026 12:21:27 +0000 Subject: [PATCH] feat: Automated regeneration of container v1beta1 client --- api_names_out.yaml | 4 ++ .../CHANGELOG.md | 4 ++ .../google/apis/container_v1beta1/classes.rb | 37 ++++++++++++++++--- .../apis/container_v1beta1/gem_version.rb | 4 +- .../apis/container_v1beta1/representations.rb | 18 ++++++++- 5 files changed, 58 insertions(+), 9 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 3fda2f5a83d..bca8884a920 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -152789,6 +152789,8 @@ "/container:v1beta1/CustomImageConfig/image": image "/container:v1beta1/CustomImageConfig/imageFamily": image_family "/container:v1beta1/CustomImageConfig/imageProject": image_project +"/container:v1beta1/CustomImageInfo": custom_image_info +"/container:v1beta1/CustomImageInfo/upgradeMessage": upgrade_message "/container:v1beta1/CustomNodeInit": custom_node_init "/container:v1beta1/CustomNodeInit/initScript": init_script "/container:v1beta1/DNSConfig": dns_config @@ -153360,6 +153362,7 @@ "/container:v1beta1/NodePoolUpgradeInfo": node_pool_upgrade_info "/container:v1beta1/NodePoolUpgradeInfo/autoUpgradeStatus": auto_upgrade_status "/container:v1beta1/NodePoolUpgradeInfo/autoUpgradeStatus/auto_upgrade_status": auto_upgrade_status +"/container:v1beta1/NodePoolUpgradeInfo/customImageInfo": custom_image_info "/container:v1beta1/NodePoolUpgradeInfo/endOfExtendedSupportTimestamp": end_of_extended_support_timestamp "/container:v1beta1/NodePoolUpgradeInfo/endOfStandardSupportTimestamp": end_of_standard_support_timestamp "/container:v1beta1/NodePoolUpgradeInfo/minorTargetVersion": minor_target_version @@ -153766,6 +153769,7 @@ "/container:v1beta1/UpdateNodePoolRequest/locations/location": location "/container:v1beta1/UpdateNodePoolRequest/loggingConfig": logging_config "/container:v1beta1/UpdateNodePoolRequest/machineType": machine_type +"/container:v1beta1/UpdateNodePoolRequest/maintenancePolicy": maintenance_policy "/container:v1beta1/UpdateNodePoolRequest/maxRunDuration": max_run_duration "/container:v1beta1/UpdateNodePoolRequest/name": name "/container:v1beta1/UpdateNodePoolRequest/nodeDrainConfig": node_drain_config diff --git a/generated/google-apis-container_v1beta1/CHANGELOG.md b/generated/google-apis-container_v1beta1/CHANGELOG.md index 488c444ff17..d6787ec72d8 100644 --- a/generated/google-apis-container_v1beta1/CHANGELOG.md +++ b/generated/google-apis-container_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-container_v1beta1 +### v0.104.0 (2026-06-21) + +* Regenerated from discovery document revision 20260609 + ### v0.103.0 (2026-06-10) * Regenerated from discovery document revision 20260519 diff --git a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/classes.rb b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/classes.rb index 375435ad075..8a4b0a4017f 100644 --- a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/classes.rb +++ b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/classes.rb @@ -3403,11 +3403,6 @@ class CustomImageConfig # @return [String] attr_accessor :image - # The name of the image family to use for this node. - # Corresponds to the JSON property `imageFamily` - # @return [String] - attr_accessor :image_family - # The project containing the image to use for this node. # Corresponds to the JSON property `imageProject` # @return [String] @@ -3420,11 +3415,29 @@ def initialize(**args) # Update properties of this object def update!(**args) @image = args[:image] if args.key?(:image) - @image_family = args[:image_family] if args.key?(:image_family) @image_project = args[:image_project] if args.key?(:image_project) end end + # Contains the custom image info for a node pool. + class CustomImageInfo + include Google::Apis::Core::Hashable + + # Output only. The human-readable upgrade message for the custom image. + # Corresponds to the JSON property `upgradeMessage` + # @return [String] + attr_accessor :upgrade_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @upgrade_message = args[:upgrade_message] if args.key?(:upgrade_message) + end + end + # Support for running custom init code while bootstrapping nodes. class CustomNodeInit include Google::Apis::Core::Hashable @@ -7922,6 +7935,11 @@ class NodePoolUpgradeInfo # @return [Array] attr_accessor :auto_upgrade_status + # Contains the custom image info for a node pool. + # Corresponds to the JSON property `customImageInfo` + # @return [Google::Apis::ContainerV1beta1::CustomImageInfo] + attr_accessor :custom_image_info + # The node pool's current minor version's end of extended support timestamp. # Corresponds to the JSON property `endOfExtendedSupportTimestamp` # @return [String] @@ -7959,6 +7977,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status) + @custom_image_info = args[:custom_image_info] if args.key?(:custom_image_info) @end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp) @end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp) @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version) @@ -11153,6 +11172,11 @@ class UpdateNodePoolRequest # @return [String] attr_accessor :machine_type + # Defines the maintenance policy for the node pool. + # Corresponds to the JSON property `maintenancePolicy` + # @return [Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy] + attr_accessor :maintenance_policy + # The maximum duration for the nodes to exist. If unspecified, the nodes can # exist indefinitely. # Corresponds to the JSON property `maxRunDuration` @@ -11327,6 +11351,7 @@ def update!(**args) @locations = args[:locations] if args.key?(:locations) @logging_config = args[:logging_config] if args.key?(:logging_config) @machine_type = args[:machine_type] if args.key?(:machine_type) + @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy) @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration) @name = args[:name] if args.key?(:name) @node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config) diff --git a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/gem_version.rb b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/gem_version.rb index 5c5ef09e8f8..6ded6019ae9 100644 --- a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/gem_version.rb +++ b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContainerV1beta1 # Version of the google-apis-container_v1beta1 gem - GEM_VERSION = "0.103.0" + GEM_VERSION = "0.104.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260519" + REVISION = "20260609" end end end diff --git a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/representations.rb b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/representations.rb index 0c2baeedc2a..55ec3df1271 100644 --- a/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/representations.rb +++ b/generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/representations.rb @@ -388,6 +388,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CustomImageInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CustomNodeInit class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2609,11 +2615,17 @@ class CustomImageConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :image, as: 'image' - property :image_family, as: 'imageFamily' property :image_project, as: 'imageProject' end end + class CustomImageInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :upgrade_message, as: 'upgradeMessage' + end + end + class CustomNodeInit # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3783,6 +3795,8 @@ class NodePoolUpgradeInfo # @private class Representation < Google::Apis::Core::JsonRepresentation collection :auto_upgrade_status, as: 'autoUpgradeStatus' + property :custom_image_info, as: 'customImageInfo', class: Google::Apis::ContainerV1beta1::CustomImageInfo, decorator: Google::Apis::ContainerV1beta1::CustomImageInfo::Representation + property :end_of_extended_support_timestamp, as: 'endOfExtendedSupportTimestamp' property :end_of_standard_support_timestamp, as: 'endOfStandardSupportTimestamp' property :minor_target_version, as: 'minorTargetVersion' @@ -4642,6 +4656,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation property :machine_type, as: 'machineType' + property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy::Representation + property :max_run_duration, as: 'maxRunDuration' property :name, as: 'name' property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1beta1::NodeDrainConfig, decorator: Google::Apis::ContainerV1beta1::NodeDrainConfig::Representation