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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setMacAddress
The MAC address of this neighbor.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIpAddress
The IP address of this neighbor.
Returns | |
---|---|
Type | Description |
string |
setIpAddress
The IP address of this neighbor.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |