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.



4001
4002
4003
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4001

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)


3998
3999
4000
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3998

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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