Class: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig
- 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 more...
Overview
VmwareAdminMetalLbConfig represents configuration parameters for a MetalLB load balancer. For admin clusters, currently no configurations is needed.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether MetalLB is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminMetalLbConfig
constructor
A new instance of VmwareAdminMetalLbConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminMetalLbConfig
Returns a new instance of VmwareAdminMetalLbConfig.
4163 4164 4165 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether MetalLB is enabled.
Corresponds to the JSON property enabled
4160 4161 4162 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4160 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4168 4169 4170 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4168 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |