Class: Google::Apis::ContainerV1beta1::NodeManagement

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeManagement

Returns a new instance of NodeManagement.



3129
3130
3131
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3129

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_repairBoolean Also known as: auto_repair?

Whether the nodes will be automatically repaired. Corresponds to the JSON property autoRepair

Returns:

  • (Boolean)


3114
3115
3116
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3114

def auto_repair
  @auto_repair
end

#auto_upgradeBoolean Also known as: auto_upgrade?

Whether the nodes will be automatically upgraded. Corresponds to the JSON property autoUpgrade

Returns:

  • (Boolean)


3120
3121
3122
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3120

def auto_upgrade
  @auto_upgrade
end

#upgrade_optionsGoogle::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



3127
3128
3129
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3127

def upgrade_options
  @upgrade_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3134
3135
3136
3137
3138
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3134

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