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.



4310
4311
4312
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4310

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)


4307
4308
4309
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4307

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4315
4316
4317
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4315

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