Compute V1 Client - Class RouterStatusBgpPeerStatus (1.8.3)

Reference documentation and code samples for the Compute V1 Client class RouterStatusBgpPeerStatus.

Generated from protobuf message google.cloud.compute.v1.RouterStatusBgpPeerStatus

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ advertised_routes array<Google\Cloud\Compute\V1\Route>

Routes that were advertised to the remote BGP peer

↳ bfd_status Google\Cloud\Compute\V1\BfdStatus
↳ enable_ipv6 bool

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

↳ ip_address string

IP address of the local BGP interface.

↳ ipv6_nexthop_address string

IPv6 address of the local BGP interface.

↳ linked_vpn_tunnel string

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

Name of this BGP peer. Unique within the Routers resource.

↳ num_learned_routes int

Number of routes learned from the remote BGP Peer.

↳ peer_ip_address string

IP address of the remote BGP interface.

↳ peer_ipv6_nexthop_address string

IPv6 address of the remote BGP interface.

↳ router_appliance_instance string

[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

The state of the BGP session. For a list of possible values for this field, see BGP session states.

↳ status string

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

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

↳ uptime_seconds string

Time this session has been up, in seconds. Format: 145

getAdvertisedRoutes

Routes that were advertised to the remote BGP peer

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdvertisedRoutes

Routes that were advertised to the remote BGP peer

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\Route>
Returns
TypeDescription
$this

getBfdStatus

Generated from protobuf field optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
Google\Cloud\Compute\V1\BfdStatus|null

hasBfdStatus

clearBfdStatus

setBfdStatus

Generated from protobuf field optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Parameter
NameDescription
var Google\Cloud\Compute\V1\BfdStatus
Returns
TypeDescription
$this

getEnableIpv6

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

Returns
TypeDescription
bool

hasEnableIpv6

clearEnableIpv6

setEnableIpv6

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getIpAddress

IP address of the local BGP interface.

Returns
TypeDescription
string

hasIpAddress

clearIpAddress

setIpAddress

IP address of the local BGP interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpv6NexthopAddress

IPv6 address of the local BGP interface.

Returns
TypeDescription
string

hasIpv6NexthopAddress

clearIpv6NexthopAddress

setIpv6NexthopAddress

IPv6 address of the local BGP interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLinkedVpnTunnel

URL of the VPN tunnel that this BGP peer controls.

Returns
TypeDescription
string

hasLinkedVpnTunnel

clearLinkedVpnTunnel

setLinkedVpnTunnel

URL of the VPN tunnel that this BGP peer controls.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMd5AuthEnabled

Informs whether MD5 authentication is enabled on this BGP peer.

Returns
TypeDescription
bool

hasMd5AuthEnabled

clearMd5AuthEnabled

setMd5AuthEnabled

Informs whether MD5 authentication is enabled on this BGP peer.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getName

Name of this BGP peer. Unique within the Routers resource.

Returns
TypeDescription
string

hasName

clearName

setName

Name of this BGP peer. Unique within the Routers resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNumLearnedRoutes

Number of routes learned from the remote BGP Peer.

Returns
TypeDescription
int

hasNumLearnedRoutes

clearNumLearnedRoutes

setNumLearnedRoutes

Number of routes learned from the remote BGP Peer.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPeerIpAddress

IP address of the remote BGP interface.

Returns
TypeDescription
string

hasPeerIpAddress

clearPeerIpAddress

setPeerIpAddress

IP address of the remote BGP interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPeerIpv6NexthopAddress

IPv6 address of the remote BGP interface.

Returns
TypeDescription
string

hasPeerIpv6NexthopAddress

clearPeerIpv6NexthopAddress

setPeerIpv6NexthopAddress

IPv6 address of the remote BGP interface.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRouterApplianceInstance

[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.

Returns
TypeDescription
string

hasRouterApplianceInstance

clearRouterApplianceInstance

setRouterApplianceInstance

[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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

The state of the BGP session. For a list of possible values for this field, see BGP session states.

Returns
TypeDescription
string

hasState

clearState

setState

The state of the BGP session. For a list of possible values for this field, see BGP session states.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

Returns
TypeDescription
string

hasStatus

clearStatus

setStatus

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatusReason

Indicates why particular status was returned.

Check the StatusReason enum for the list of possible values.

Returns
TypeDescription
string

hasStatusReason

clearStatusReason

setStatusReason

Indicates why particular status was returned.

Check the StatusReason enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUptime

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

Returns
TypeDescription
string

hasUptime

clearUptime

setUptime

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUptimeSeconds

Time this session has been up, in seconds. Format: 145

Returns
TypeDescription
string

hasUptimeSeconds

clearUptimeSeconds

setUptimeSeconds

Time this session has been up, in seconds. Format: 145

Parameter
NameDescription
var string
Returns
TypeDescription
$this