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

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
NameDescription
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
TypeDescription
string

setCircuitId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLacpStatus

Describing the state of a LACP link.

Returns
TypeDescription
Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLACPStatus|null

hasLacpStatus

clearLacpStatus

setLacpStatus

Describing the state of a LACP link.

Parameter
NameDescription
var Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLACPStatus
Returns
TypeDescription
$this

getLldpStatuses

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

Returns
TypeDescription
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
NameDescription
var array<Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus>
Returns
TypeDescription
$this

getPacketCounts

Packet counts specific statistics for this link.

Returns
TypeDescription
Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\PacketCounts|null

hasPacketCounts

clearPacketCounts

setPacketCounts

Packet counts specific statistics for this link.

Parameter
NameDescription
var Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\PacketCounts
Returns
TypeDescription
$this