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

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

LinkLayerAddress contains an IP address and corresponding link-layer address.

Generated from protobuf message google.cloud.edgenetwork.v1.LinkLayerAddress

Namespace

Google \ Cloud \ EdgeNetwork \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mac_address string

The MAC address of this neighbor.

↳ ip_address string

The IP address of this neighbor.

getMacAddress

The MAC address of this neighbor.

Returns
TypeDescription
string

setMacAddress

The MAC address of this neighbor.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpAddress

The IP address of this neighbor.

Returns
TypeDescription
string

setIpAddress

The IP address of this neighbor.

Parameter
NameDescription
var string
Returns
TypeDescription
$this