# Distributed Cloud Edge Network V1 API - Class Google::Cloud::EdgeNetwork::V1::Router::Bgp (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::Router::Bgp.

BGP information specific to this router.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asn

    def asn() -> ::Integer

**Returns**

- (::Integer) --- Locally assigned BGP ASN.

### #asn=

    def asn=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Locally assigned BGP ASN.
**Returns**

- (::Integer) --- Locally assigned BGP ASN.

### #keepalive_interval_in_seconds

    def keepalive_interval_in_seconds() -> ::Integer

**Returns**

- (::Integer) --- The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.

### #keepalive_interval_in_seconds=

    def keepalive_interval_in_seconds=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.
**Returns**

- (::Integer) --- The interval in seconds between BGP keepalive messages that are sent to the peer. Default is 20 with value between 20 and 60.