Class: Google::Apis::GkeonpremV1::VmwareAutoResizeConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
more...

Overview

Represents auto resizing configurations for the VMware user cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAutoResizeConfig

Returns a new instance of VmwareAutoResizeConfig.

[View source]

4449
4450
4451
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4449

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether to enable controle plane node auto resizing. Corresponds to the JSON property enabled

Returns:

  • (Boolean)

4446
4447
4448
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4446

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4454
4455
4456
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4454

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end