# Google Cloud Vision Ai V1 Client - Class AnnotationCustomizedStruct (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AnnotationCustomizedStruct.

Customized struct represnation in annotation.

Generated from protobuf message `google.cloud.visionai.v1.AnnotationCustomizedStruct`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ elements` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` A map from elements' keys to element's annotation value. |

### getElements

A map from elements' keys to element's annotation value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setElements

A map from elements' keys to element's annotation value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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