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.



4006
4007
4008
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4006

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)


4003
4004
4005
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4003

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4011
4012
4013
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4011

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