destRange = $destRange; } /** * @return string */ public function getDestRange() { return $this->destRange; } /** * True if the peering route has been imported from a peer. The actual import * happens if the field networkPeering.importCustomRoutes is true for this * network, and networkPeering.exportCustomRoutes is true for the peer * network, and the import does not result in a route conflict. * * @param bool $imported */ public function setImported($imported) { $this->imported = $imported; } /** * @return bool */ public function getImported() { return $this->imported; } /** * The region of peering route next hop, only applies to dynamic routes. * * @param string $nextHopRegion */ public function setNextHopRegion($nextHopRegion) { $this->nextHopRegion = $nextHopRegion; } /** * @return string */ public function getNextHopRegion() { return $this->nextHopRegion; } /** * The priority of the peering route. * * @param string $priority */ public function setPriority($priority) { $this->priority = $priority; } /** * @return string */ public function getPriority() { return $this->priority; } /** * The type of the peering route. * * Accepted values: DYNAMIC_PEERING_ROUTE, STATIC_PEERING_ROUTE, * SUBNET_PEERING_ROUTE * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ExchangedPeeringRoute::class, 'Google_Service_Compute_ExchangedPeeringRoute');