# Google Cloud Tpu V2 Client - Class GuestAttributesValue (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 GuestAttributesValue.

Array of guest attribute namespace/key/value tuples.

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

## Namespace

Google \\ Cloud \\ Tpu \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ items` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-tpu/latest/V2.GuestAttributesEntry>` The list of guest attributes entries. |

### getItems

The list of guest attributes entries.

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

### setItems

The list of guest attributes entries.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-tpu/latest/V2.GuestAttributesEntry>` |

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