Google Cloud Edge Network V1 Client - Class Bgp (0.1.1)

Reference documentation and code samples for the Google Cloud Edge Network V1 Client class Bgp.

BGP information specific to this router.

Generated from protobuf message google.cloud.edgenetwork.v1.Router.Bgp

Namespace

Google \ Cloud \ EdgeNetwork \ V1 \ Router

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ asn int

Locally assigned BGP ASN.

↳ keepalive_interval_in_seconds int

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

getAsn

Locally assigned BGP ASN.

Returns
TypeDescription
int

setAsn

Locally assigned BGP ASN.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKeepaliveIntervalInSeconds

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

Returns
TypeDescription
int

setKeepaliveIntervalInSeconds

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this