# Google Cloud Bare Metal Solution V2 Client - Class IntakeVlanAttachment (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.6.5 0.5.2 0.4.0 0.3.2 0.2.8 Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class IntakeVlanAttachment.

A GCP vlan attachment.

Generated from protobuf message `google.cloud.baremetalsolution.v2.NetworkConfig.IntakeVlanAttachment`

## Namespace

Google \\ Cloud \\ BareMetalSolution \\ V2 \\ NetworkConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Identifier of the VLAN attachment. |
| `↳ pairing_key` | `string` Attachment pairing key. |

### getId

Identifier of the VLAN attachment.

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

### setId

Identifier of the VLAN attachment.

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

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

### getPairingKey

Attachment pairing key.

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

### setPairingKey

Attachment pairing key.

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

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