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

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 Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLACPStatus

Describing the state of a LACP link.

↳ lldp_statuses array<Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus>

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

↳ packet_counts Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\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
Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLACPStatus|null

hasLacpStatus

clearLacpStatus

setLacpStatus

Describing the state of a LACP link.

Parameter
Name Description
var Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\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<Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus>
Returns
Type Description
$this

getPacketCounts

Packet counts specific statistics for this link.

Returns
Type Description
Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\PacketCounts|null

hasPacketCounts

clearPacketCounts

setPacketCounts

Packet counts specific statistics for this link.

Parameter
Name Description
var Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\PacketCounts
Returns
Type Description
$this