bestRoutes = $bestRoutes; } /** * @return Route[] */ public function getBestRoutes() { return $this->bestRoutes; } /** * A list of the best BGP routes learned by this Cloud Router. * * It is possible that routes listed might not be programmed into the data * plane, if the Google Cloud control plane finds a more optimal route for a * prefix than a route learned by this Cloud Router. * * @param Route[] $bestRoutesForRouter */ public function setBestRoutesForRouter($bestRoutesForRouter) { $this->bestRoutesForRouter = $bestRoutesForRouter; } /** * @return Route[] */ public function getBestRoutesForRouter() { return $this->bestRoutesForRouter; } /** * @param RouterStatusBgpPeerStatus[] $bgpPeerStatus */ public function setBgpPeerStatus($bgpPeerStatus) { $this->bgpPeerStatus = $bgpPeerStatus; } /** * @return RouterStatusBgpPeerStatus[] */ public function getBgpPeerStatus() { return $this->bgpPeerStatus; } /** * @param RouterStatusNatStatus[] $natStatus */ public function setNatStatus($natStatus) { $this->natStatus = $natStatus; } /** * @return RouterStatusNatStatus[] */ public function getNatStatus() { return $this->natStatus; } /** * URI of the network to which this router belongs. * * @param string $network */ public function setNetwork($network) { $this->network = $network; } /** * @return string */ public function getNetwork() { return $this->network; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RouterStatus::class, 'Google_Service_Compute_RouterStatus');