Class: Google::Apis::ContainerV1::NodeManagement
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::NodeManagement
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
NodeManagement defines the set of node management services turned on for the node pool.
Instance Attribute Summary collapse
-
#auto_upgrade ⇒ Boolean
(also: #auto_upgrade?)
Whether the nodes will be automatically upgraded.
-
#upgrade_options ⇒ Google::Apis::ContainerV1::AutoUpgradeOptions
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeManagement
constructor
A new instance of NodeManagement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NodeManagement
Returns a new instance of NodeManagement
643 644 645 |
# File 'generated/google/apis/container_v1/classes.rb', line 643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_upgrade ⇒ Boolean Also known as: auto_upgrade?
Whether the nodes will be automatically upgraded.
Corresponds to the JSON property autoUpgrade
634 635 636 |
# File 'generated/google/apis/container_v1/classes.rb', line 634 def auto_upgrade @auto_upgrade end |
#upgrade_options ⇒ Google::Apis::ContainerV1::AutoUpgradeOptions
AutoUpgradeOptions defines the set of options for the user to control how the
Auto Upgrades will proceed.
Corresponds to the JSON property upgradeOptions
641 642 643 |
# File 'generated/google/apis/container_v1/classes.rb', line 641 def @upgrade_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
648 649 650 651 |
# File 'generated/google/apis/container_v1/classes.rb', line 648 def update!(**args) @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade) @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options) end |