Class: Google::Apis::ContainerV1beta1::NodeManagement
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::NodeManagement
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
NodeManagement defines the set of node management services turned on for the node pool.
Instance Attribute Summary collapse
-
#auto_repair ⇒ Boolean
(also: #auto_repair?)
Whether the nodes will be automatically repaired.
-
#auto_upgrade ⇒ Boolean
(also: #auto_upgrade?)
Whether the nodes will be automatically upgraded.
-
#upgrade_options ⇒ Google::Apis::ContainerV1beta1::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.
Constructor Details
#initialize(**args) ⇒ NodeManagement
Returns a new instance of NodeManagement.
2874 2875 2876 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_repair ⇒ Boolean Also known as: auto_repair?
Whether the nodes will be automatically repaired.
Corresponds to the JSON property autoRepair
2859 2860 2861 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2859 def auto_repair @auto_repair end |
#auto_upgrade ⇒ Boolean Also known as: auto_upgrade?
Whether the nodes will be automatically upgraded.
Corresponds to the JSON property autoUpgrade
2865 2866 2867 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2865 def auto_upgrade @auto_upgrade end |
#upgrade_options ⇒ Google::Apis::ContainerV1beta1::AutoUpgradeOptions
AutoUpgradeOptions defines the set of options for the user to control how the
Auto Upgrades will proceed.
Corresponds to the JSON property upgradeOptions
2872 2873 2874 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2872 def @upgrade_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2879 2880 2881 2882 2883 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2879 def update!(**args) @auto_repair = args[:auto_repair] if args.key?(:auto_repair) @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade) @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options) end |