Google Cloud Edge Network V1 Client - Class LinkLACPStatus (1.1.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
Name Description
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
Type Description
int

setState

The state of a LACP link.

Parameter
Name Description
var int
Returns
Type Description
$this

getGoogleSystemId

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

Returns
Type Description
string

setGoogleSystemId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getNeighborSystemId

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

Returns
Type Description
string

setNeighborSystemId

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this

getCollecting

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

Returns
Type Description
bool

setCollecting

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getDistributing

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

Returns
Type Description
bool

setDistributing

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

Parameter
Name Description
var bool
Returns
Type Description
$this