@@ -3403,11 +3403,6 @@ class CustomImageConfig
34033403 # @return [String]
34043404 attr_accessor :image
34053405
3406- # The name of the image family to use for this node.
3407- # Corresponds to the JSON property `imageFamily`
3408- # @return [String]
3409- attr_accessor :image_family
3410-
34113406 # The project containing the image to use for this node.
34123407 # Corresponds to the JSON property `imageProject`
34133408 # @return [String]
@@ -3420,11 +3415,29 @@ def initialize(**args)
34203415 # Update properties of this object
34213416 def update!(**args)
34223417 @image = args[:image] if args.key?(:image)
3423- @image_family = args[:image_family] if args.key?(:image_family)
34243418 @image_project = args[:image_project] if args.key?(:image_project)
34253419 end
34263420 end
34273421
3422+ # Contains the custom image info for a node pool.
3423+ class CustomImageInfo
3424+ include Google::Apis::Core::Hashable
3425+
3426+ # Output only. The human-readable upgrade message for the custom image.
3427+ # Corresponds to the JSON property `upgradeMessage`
3428+ # @return [String]
3429+ attr_accessor :upgrade_message
3430+
3431+ def initialize(**args)
3432+ update!(**args)
3433+ end
3434+
3435+ # Update properties of this object
3436+ def update!(**args)
3437+ @upgrade_message = args[:upgrade_message] if args.key?(:upgrade_message)
3438+ end
3439+ end
3440+
34283441 # Support for running custom init code while bootstrapping nodes.
34293442 class CustomNodeInit
34303443 include Google::Apis::Core::Hashable
@@ -7922,6 +7935,11 @@ class NodePoolUpgradeInfo
79227935 # @return [Array<String>]
79237936 attr_accessor :auto_upgrade_status
79247937
7938+ # Contains the custom image info for a node pool.
7939+ # Corresponds to the JSON property `customImageInfo`
7940+ # @return [Google::Apis::ContainerV1beta1::CustomImageInfo]
7941+ attr_accessor :custom_image_info
7942+
79257943 # The node pool's current minor version's end of extended support timestamp.
79267944 # Corresponds to the JSON property `endOfExtendedSupportTimestamp`
79277945 # @return [String]
@@ -7959,6 +7977,7 @@ def initialize(**args)
79597977 # Update properties of this object
79607978 def update!(**args)
79617979 @auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
7980+ @custom_image_info = args[:custom_image_info] if args.key?(:custom_image_info)
79627981 @end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
79637982 @end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
79647983 @minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
@@ -11153,6 +11172,11 @@ class UpdateNodePoolRequest
1115311172 # @return [String]
1115411173 attr_accessor :machine_type
1115511174
11175+ # Defines the maintenance policy for the node pool.
11176+ # Corresponds to the JSON property `maintenancePolicy`
11177+ # @return [Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy]
11178+ attr_accessor :maintenance_policy
11179+
1115611180 # The maximum duration for the nodes to exist. If unspecified, the nodes can
1115711181 # exist indefinitely.
1115811182 # Corresponds to the JSON property `maxRunDuration`
@@ -11327,6 +11351,7 @@ def update!(**args)
1132711351 @locations = args[:locations] if args.key?(:locations)
1132811352 @logging_config = args[:logging_config] if args.key?(:logging_config)
1132911353 @machine_type = args[:machine_type] if args.key?(:machine_type)
11354+ @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
1133011355 @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
1133111356 @name = args[:name] if args.key?(:name)
1133211357 @node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)
0 commit comments