addressPools = $addressPools; } /** * @return BareMetalLoadBalancerAddressPool[] */ public function getAddressPools() { return $this->addressPools; } /** * Required. BGP autonomous system number (ASN) of the cluster. This field can * be updated after cluster creation. * * @param string $asn */ public function setAsn($asn) { $this->asn = $asn; } /** * @return string */ public function getAsn() { return $this->asn; } /** * Required. The list of BGP peers that the cluster will connect to. At least * one peer must be configured for each control plane node. Control plane * nodes will connect to these peers to advertise the control plane VIP. The * Services load balancer also uses these peers by default. This field can be * updated after cluster creation. * * @param BareMetalBgpPeerConfig[] $bgpPeerConfigs */ public function setBgpPeerConfigs($bgpPeerConfigs) { $this->bgpPeerConfigs = $bgpPeerConfigs; } /** * @return BareMetalBgpPeerConfig[] */ public function getBgpPeerConfigs() { return $this->bgpPeerConfigs; } /** * Specifies the node pool running data plane load balancing. L2 connectivity * is required among nodes in this pool. If missing, the control plane node * pool is used for data plane load balancing. * * @param BareMetalLoadBalancerNodePoolConfig $loadBalancerNodePoolConfig */ public function setLoadBalancerNodePoolConfig(BareMetalLoadBalancerNodePoolConfig $loadBalancerNodePoolConfig) { $this->loadBalancerNodePoolConfig = $loadBalancerNodePoolConfig; } /** * @return BareMetalLoadBalancerNodePoolConfig */ public function getLoadBalancerNodePoolConfig() { return $this->loadBalancerNodePoolConfig; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BareMetalBgpLbConfig::class, 'Google_Service_GKEOnPrem_BareMetalBgpLbConfig');