# Google Cloud Edge Network V1 Client - Class LinkLayerAddress (1.4.2)

1.4.2 (latest) 1.4.1 1.3.1 1.2.3 1.1.4 1.0.0 0.3.6 0.2.0 0.1.1 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** ||
|---|---|
| **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` |   |