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 \ RouterMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
int |
|
setAsn
Locally assigned BGP ASN.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|