Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::RouterStatus.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#best_routes
def best_routes() -> ::Array<::Google::Cloud::Compute::V1::Route>
Returns
- (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes for this router's network.
#best_routes=
def best_routes=(value) -> ::Array<::Google::Cloud::Compute::V1::Route>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes for this router's network.
Returns
- (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes for this router's network.
#best_routes_for_router
def best_routes_for_router() -> ::Array<::Google::Cloud::Compute::V1::Route>
Returns
- (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes learned by this router.
#best_routes_for_router=
def best_routes_for_router=(value) -> ::Array<::Google::Cloud::Compute::V1::Route>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes learned by this router.
Returns
- (::Array<::Google::Cloud::Compute::V1::Route>) — Best routes learned by this router.
#bgp_peer_status
def bgp_peer_status() -> ::Array<::Google::Cloud::Compute::V1::RouterStatusBgpPeerStatus>
Returns
#bgp_peer_status=
def bgp_peer_status=(value) -> ::Array<::Google::Cloud::Compute::V1::RouterStatusBgpPeerStatus>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::RouterStatusBgpPeerStatus>)
Returns
#nat_status
def nat_status() -> ::Array<::Google::Cloud::Compute::V1::RouterStatusNatStatus>
Returns
#nat_status=
def nat_status=(value) -> ::Array<::Google::Cloud::Compute::V1::RouterStatusNatStatus>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::RouterStatusNatStatus>)
Returns
#network
def network() -> ::String
Returns
- (::String) — URI of the network to which this router belongs.
#network=
def network=(value) -> ::String
Parameter
- value (::String) — URI of the network to which this router belongs.
Returns
- (::String) — URI of the network to which this router belongs.