Google Cloud Edge Network V1 Client - Class LinkLACPStatus (0.2.0)

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

Describing the status of a LACP link.

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

Namespace

Google \ Cloud \ EdgeNetwork \ V1 \ InterconnectDiagnostics

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

The state of a LACP link.

↳ google_system_id string

System ID of the port on Google's side of the LACP exchange.

↳ neighbor_system_id string

System ID of the port on the neighbor's side of the LACP exchange.

↳ aggregatable bool

A true value indicates that the participant will allow the link to be used as part of the aggregate. A false value indicates the link should be used as an individual link.

↳ collecting bool

If true, the participant is collecting incoming frames on the link, otherwise false

↳ distributing bool

When true, the participant is distributing outgoing frames; when false, distribution is disabled

getState

The state of a LACP link.

Returns
TypeDescription
int

setState

The state of a LACP link.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getGoogleSystemId

System ID of the port on Google's side of the LACP exchange.

Returns
TypeDescription
string

setGoogleSystemId

System ID of the port on Google's side of the LACP exchange.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNeighborSystemId

System ID of the port on the neighbor's side of the LACP exchange.

Returns
TypeDescription
string

setNeighborSystemId

System ID of the port on the neighbor's side of the LACP exchange.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAggregatable

A true value indicates that the participant will allow the link to be used as part of the aggregate.

A false value indicates the link should be used as an individual link.

Returns
TypeDescription
bool

setAggregatable

A true value indicates that the participant will allow the link to be used as part of the aggregate.

A false value indicates the link should be used as an individual link.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getCollecting

If true, the participant is collecting incoming frames on the link, otherwise false

Returns
TypeDescription
bool

setCollecting

If true, the participant is collecting incoming frames on the link, otherwise false

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDistributing

When true, the participant is distributing outgoing frames; when false, distribution is disabled

Returns
TypeDescription
bool

setDistributing

When true, the participant is distributing outgoing frames; when false, distribution is disabled

Parameter
NameDescription
var bool
Returns
TypeDescription
$this