# Google Cloud Tpu V2 Client - Class GuestAttributesEntry (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.0 1.4.7 1.3.2 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Tpu V2 Client class GuestAttributesEntry.

A guest attributes namespace/key/value entry.

Generated from protobuf message `google.cloud.tpu.v2.GuestAttributesEntry`

## Namespace

Google \\ Cloud \\ Tpu \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ namespace` | `string` Namespace for the guest attribute entry. |
| `↳ key` | `string` Key for the guest attribute entry. |
| `↳ value` | `string` Value for the guest attribute entry. |

### getNamespace

Namespace for the guest attribute entry.

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

### setNamespace

Namespace for the guest attribute entry.

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

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

### getKey

Key for the guest attribute entry.

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

### setKey

Key for the guest attribute entry.

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

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

### getValue

Value for the guest attribute entry.

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

### setValue

Value for the guest attribute entry.

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

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