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.



1567
1568
1569
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1567

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



1545
1546
1547
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1545

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



1550
1551
1552
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1550

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



1555
1556
1557
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1555

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



1560
1561
1562
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1560

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



1565
1566
1567
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1565

def vip_config
  @vip_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1572
1573
1574
1575
1576
1577
1578
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1572

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