Reference documentation and code samples for the Compute V1 Client class RouterStatusBgpPeerStatus.
Generated from protobuf message google.cloud.compute.v1.RouterStatusBgpPeerStatus
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ advertised_routes
↳ bfd_status
↳ enable_ipv4
bool
Output only. Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
↳ enable_ipv6
bool
Output only. Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
↳ ip_address
string
Output only. IP address of the local BGP interface.
↳ ipv4_nexthop_address
string
Output only. IPv4 address of the local BGP interface.
↳ ipv6_nexthop_address
string
Output only. IPv6 address of the local BGP interface.
↳ linked_vpn_tunnel
string
Output only. URL of the VPN tunnel that this BGP peer controls.
↳ md5_auth_enabled
bool
Informs whether MD5 authentication is enabled on this BGP peer.
↳ name
string
Output only. Name of this BGP peer. Unique within the Routers resource.
↳ num_learned_routes
int
Output only. Number of routes learned from the remote BGP Peer.
↳ peer_ip_address
string
Output only. IP address of the remote BGP interface.
↳ peer_ipv4_nexthop_address
string
Output only. IPv4 address of the remote BGP interface.
↳ peer_ipv6_nexthop_address
string
Output only. IPv6 address of the remote BGP interface.
↳ router_appliance_instance
string
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.
↳ state
string
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
↳ status
string
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
↳ status_reason
string
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
↳ uptime
string
Output only. Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
↳ uptime_seconds
string
Output only. Time this session has been up, in seconds. Format: 145
getAdvertisedRoutes
Routes that were advertised to the remote BGP peer
setAdvertisedRoutes
Routes that were advertised to the remote BGP peer
$this
getBfdStatus
Generated from protobuf field optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
hasBfdStatus
clearBfdStatus
setBfdStatus
Generated from protobuf field optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
$this
getEnableIpv4
Output only. Enable IPv4 traffic over BGP Peer.
It is enabled by default if the peerIpAddress is version 4.
bool
hasEnableIpv4
clearEnableIpv4
setEnableIpv4
Output only. Enable IPv4 traffic over BGP Peer.
It is enabled by default if the peerIpAddress is version 4.
var
bool
$this
getEnableIpv6
Output only. Enable IPv6 traffic over BGP Peer.
It is enabled by default if the peerIpAddress is version 6.
bool
hasEnableIpv6
clearEnableIpv6
setEnableIpv6
Output only. Enable IPv6 traffic over BGP Peer.
It is enabled by default if the peerIpAddress is version 6.
var
bool
$this
getIpAddress
Output only. IP address of the local BGP interface.
string
hasIpAddress
clearIpAddress
setIpAddress
Output only. IP address of the local BGP interface.
var
string
$this
getIpv4NexthopAddress
Output only. IPv4 address of the local BGP interface.
string
hasIpv4NexthopAddress
clearIpv4NexthopAddress
setIpv4NexthopAddress
Output only. IPv4 address of the local BGP interface.
var
string
$this
getIpv6NexthopAddress
Output only. IPv6 address of the local BGP interface.
string
hasIpv6NexthopAddress
clearIpv6NexthopAddress
setIpv6NexthopAddress
Output only. IPv6 address of the local BGP interface.
var
string
$this
getLinkedVpnTunnel
Output only. URL of the VPN tunnel that this BGP peer controls.
string
hasLinkedVpnTunnel
clearLinkedVpnTunnel
setLinkedVpnTunnel
Output only. URL of the VPN tunnel that this BGP peer controls.
var
string
$this
getMd5AuthEnabled
Informs whether MD5 authentication is enabled on this BGP peer.
bool
hasMd5AuthEnabled
clearMd5AuthEnabled
setMd5AuthEnabled
Informs whether MD5 authentication is enabled on this BGP peer.
var
bool
$this
getName
Output only. Name of this BGP peer. Unique within the Routers resource.
string
hasName
clearName
setName
Output only. Name of this BGP peer. Unique within the Routers resource.
var
string
$this
getNumLearnedRoutes
Output only. Number of routes learned from the remote BGP Peer.
int
hasNumLearnedRoutes
clearNumLearnedRoutes
setNumLearnedRoutes
Output only. Number of routes learned from the remote BGP Peer.
var
int
$this
getPeerIpAddress
Output only. IP address of the remote BGP interface.
string
hasPeerIpAddress
clearPeerIpAddress
setPeerIpAddress
Output only. IP address of the remote BGP interface.
var
string
$this
getPeerIpv4NexthopAddress
Output only. IPv4 address of the remote BGP interface.
string
hasPeerIpv4NexthopAddress
clearPeerIpv4NexthopAddress
setPeerIpv4NexthopAddress
Output only. IPv4 address of the remote BGP interface.
var
string
$this
getPeerIpv6NexthopAddress
Output only. IPv6 address of the remote BGP interface.
string
hasPeerIpv6NexthopAddress
clearPeerIpv6NexthopAddress
setPeerIpv6NexthopAddress
Output only. IPv6 address of the remote BGP interface.
var
string
$this
getRouterApplianceInstance
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
The VM instance is the peer side of the BGP session.
string
hasRouterApplianceInstance
clearRouterApplianceInstance
setRouterApplianceInstance
Output only. [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
The VM instance is the peer side of the BGP session.
var
string
$this
getState
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
string
hasState
clearState
setState
Output only. The state of the BGP session. For a list of possible values for this field, seeBGP session states.
var
string
$this
getStatus
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
string
hasStatus
clearStatus
setStatus
Output only. Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
var
string
$this
getStatusReason
Indicates why particular status was returned.
Check the StatusReason enum for the list of possible values.
string
hasStatusReason
clearStatusReason
setStatusReason
Indicates why particular status was returned.
Check the StatusReason enum for the list of possible values.
var
string
$this
getUptime
Output only. Time this session has been up.
Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
string
hasUptime
clearUptime
setUptime
Output only. Time this session has been up.
Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
var
string
$this
getUptimeSeconds
Output only. Time this session has been up, in seconds.
Format: 145
string
hasUptimeSeconds
clearUptimeSeconds
setUptimeSeconds
Output only. Time this session has been up, in seconds.
Format: 145
var
string
$this

