Class: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig

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

VmwareAdminMetalLbConfig represents configuration parameters for a MetalLB load balancer. For admin clusters, currently no configurations is needed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminMetalLbConfig

Returns a new instance of VmwareAdminMetalLbConfig.



4388
4389
4390
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4388

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether MetalLB is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


4385
4386
4387
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4385

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4393
4394
4395
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4393

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