# Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::RouterStatus (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.2.0 1.1.0 1.0.3 0.5.0 0.4.1 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Distributed Cloud Edge Network V1 API class Google::Cloud::EdgeNetwork::V1::RouterStatus.

Describing the current status of a router.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #bgp_peer_status

    def bgp_peer_status() -> ::Array<::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus>

**Returns**

- (::Array\<[::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_network-v1/latest/Google-Cloud-EdgeNetwork-V1-RouterStatus-BgpPeerStatus)\>) --- A list of BgpPeerStatus objects, describing all BGP peers related to this router.

### #bgp_peer_status=

    def bgp_peer_status=(value) -> ::Array<::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus>

**Parameter**

- **value** (::Array\<[::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_network-v1/latest/Google-Cloud-EdgeNetwork-V1-RouterStatus-BgpPeerStatus)\>) --- A list of BgpPeerStatus objects, describing all BGP peers related to this router.
**Returns**

- (::Array\<[::Google::Cloud::EdgeNetwork::V1::RouterStatus::BgpPeerStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-edge_network-v1/latest/Google-Cloud-EdgeNetwork-V1-RouterStatus-BgpPeerStatus)\>) --- A list of BgpPeerStatus objects, describing all BGP peers related to this router.

### #network

    def network() -> ::String

**Returns**

- (::String) --- The canonical name of the network to which this router belongs.

### #network=

    def network=(value) -> ::String

**Parameter**

- **value** (::String) --- The canonical name of the network to which this router belongs.
**Returns**

- (::String) --- The canonical name of the network to which this router belongs.