Class: Google::Apis::GkeonpremV1::BareMetalLoadBalancerConfig

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

Specifies the load balancer configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalLoadBalancerConfig

Returns a new instance of BareMetalLoadBalancerConfig.



1356
1357
1358
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1356

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

Instance Attribute Details

#bgp_lb_configGoogle::Apis::GkeonpremV1::BareMetalBgpLbConfig

BareMetalBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer. Corresponds to the JSON property bgpLbConfig



1334
1335
1336
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1334

def bgp_lb_config
  @bgp_lb_config
end

#manual_lb_configGoogle::Apis::GkeonpremV1::BareMetalManualLbConfig

Represents configuration parameters for a manual load balancer. Corresponds to the JSON property manualLbConfig



1339
1340
1341
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1339

def manual_lb_config
  @manual_lb_config
end

#metal_lb_configGoogle::Apis::GkeonpremV1::BareMetalMetalLbConfig

Represents configuration parameters for a MetalLB load balancer. Corresponds to the JSON property metalLbConfig



1344
1345
1346
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1344

def metal_lb_config
  @metal_lb_config
end

#port_configGoogle::Apis::GkeonpremV1::BareMetalPortConfig

Specifies load balancer ports for the bare metal user cluster. Corresponds to the JSON property portConfig



1349
1350
1351
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1349

def port_config
  @port_config
end

#vip_configGoogle::Apis::GkeonpremV1::BareMetalVipConfig

Specifies the VIP config for the bare metal load balancer. Corresponds to the JSON property vipConfig



1354
1355
1356
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1354

def vip_config
  @vip_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1361
1362
1363
1364
1365
1366
1367
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1361

def update!(**args)
  @bgp_lb_config = args[:bgp_lb_config] if args.key?(:bgp_lb_config)
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
  @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
  @port_config = args[:port_config] if args.key?(:port_config)
  @vip_config = args[:vip_config] if args.key?(:vip_config)
end