Google Cloud Edge Network V1 Client - Class LinkStatus (1.1.3)

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

Describing the status for each link on the Interconnect.

Generated from protobuf message google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus

Namespace

Google \ Cloud \ EdgeNetwork \ V1 \ InterconnectDiagnostics

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ circuit_id string

The unique ID for this link assigned during turn up by Google.

↳ lacp_status LinkLACPStatus

Describing the state of a LACP link.

↳ lldp_statuses array<LinkLLDPStatus>

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

↳ packet_counts PacketCounts

Packet counts specific statistics for this link.

getCircuitId

The unique ID for this link assigned during turn up by Google.

Returns
Type Description
string

setCircuitId

The unique ID for this link assigned during turn up by Google.

Parameter
Name Description
var string
Returns
Type Description
$this

getLacpStatus

Describing the state of a LACP link.

Returns
Type Description
LinkLACPStatus|null

hasLacpStatus

clearLacpStatus

setLacpStatus

Describing the state of a LACP link.

Parameter
Name Description
var LinkLACPStatus
Returns
Type Description
$this

getLldpStatuses

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLldpStatuses

A list of LinkLLDPStatus objects, used to describe LLDP status of each peer for each link on the Interconnect.

Parameter
Name Description
var array<LinkLLDPStatus>
Returns
Type Description
$this

getPacketCounts

Packet counts specific statistics for this link.

Returns
Type Description
PacketCounts|null

hasPacketCounts

clearPacketCounts

setPacketCounts

Packet counts specific statistics for this link.

Parameter
Name Description
var PacketCounts
Returns
Type Description
$this