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.



1368
1369
1370
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1368

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



1346
1347
1348
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1346

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



1351
1352
1353
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1351

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



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

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



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

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



1366
1367
1368
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1366

def vip_config
  @vip_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1373
1374
1375
1376
1377
1378
1379
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1373

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