Reference documentation and code samples for the Google Cloud Edge Network V1 Client class BgpPeerStatus.
Status of a BGP peer.
Generated from protobuf message google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus
Namespace
Google \ Cloud \ EdgeNetwork \ V1 \ RouterStatusMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of this BGP peer. Unique within the Routers resource.
↳ ip_address
string
IP address of the local BGP interface.
↳ peer_ip_address
string
IP address of the remote BGP interface.
↳ status
int
The current status of BGP.
↳ state
string
BGP state as specified in RFC1771.
↳ uptime
string
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
↳ uptime_seconds
int|string
Time this session has been up, in seconds.
↳ prefix_counter
getName
Name of this BGP peer. Unique within the Routers resource.
string
setName
Name of this BGP peer. Unique within the Routers resource.
var
string
$this
getIpAddress
IP address of the local BGP interface.
string
setIpAddress
IP address of the local BGP interface.
var
string
$this
getPeerIpAddress
IP address of the remote BGP interface.
string
setPeerIpAddress
IP address of the remote BGP interface.
var
string
$this
getStatus
The current status of BGP.
int
setStatus
The current status of BGP.
var
int
$this
getState
BGP state as specified in RFC1771.
string
setState
BGP state as specified in RFC1771.
var
string
$this
getUptime
Time this session has been up.
Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
string
setUptime
Time this session has been up.
Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
var
string
$this
getUptimeSeconds
Time this session has been up, in seconds.
int|string
setUptimeSeconds
Time this session has been up, in seconds.
var
int|string
$this
getPrefixCounter
A collection of counts for prefixes.
hasPrefixCounter
clearPrefixCounter
setPrefixCounter
A collection of counts for prefixes.
$this