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

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

Generated from protobuf message `google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ AppPlatformCloudFunctionRequest

## Methods

### __construct

Constructor.

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

### getIngestionTimeMicros

The ingestion time of the current annotation.

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

### setIngestionTimeMicros

The ingestion time of the current annotation.

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

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

### 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` |   |