# Google Cloud Edge Network V1 Client - Class SubnetStatus (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 SubnetStatus.

SubnetStatus contains detailed and current technical information about this
subnet resource.

Generated from protobuf message `google.cloud.edgenetwork.v1.SubnetStatus`

## Namespace

Google \\ Cloud \\ EdgeNetwork \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of CCFE subnet resource. |
| `↳ mac_address` | `string` BVI MAC address. |
| `↳ link_layer_addresses` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-edgenetwork/latest/V1.LinkLayerAddress>` A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this subnet. |

### getName

The name of CCFE subnet resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

The name of CCFE subnet resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMacAddress

BVI MAC address.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMacAddress

BVI MAC address.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLinkLayerAddresses

A list of LinkLayerAddress, describing the ip address and corresponding
link-layer address of the neighbors for this subnet.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-edgenetwork/latest/V1.LinkLayerAddress>` |   |

### setLinkLayerAddresses

A list of LinkLayerAddress, describing the ip address and corresponding
link-layer address of the neighbors for this subnet.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-edgenetwork/latest/V1.LinkLayerAddress>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |