# Google Cloud Vision Ai V1 Client - Class StructedOutputAnnotation (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 StructedOutputAnnotation.

A general annotation message that uses struct format to represent different
concrete annotation protobufs.

Generated from protobuf message `google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ AppPlatformCloudFunctionResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ annotation` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct` The struct format of the actual annotation. |

### getAnnotation

The struct format of the actual annotation.

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

### hasAnnotation

### clearAnnotation

### setAnnotation

The struct format of the actual annotation.

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

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