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

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.



4732
4733
4734
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4732

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)


4729
4730
4731
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4729

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4737
4738
4739
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4737

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