# Cloud Video Intelligence V1 Client - Class AnnotateVideoResponse (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.15.5 1.14.2 1.13.1 1.12.16 Reference documentation and code samples for the Cloud Video Intelligence V1 Client class AnnotateVideoResponse.

Video annotation response. Included in the `response`
field of the `Operation` returned by the `GetOperation`
call of the `google::longrunning::Operations` service.

Generated from protobuf message `google.cloud.videointelligence.v1.AnnotateVideoResponse`

## Namespace

Google \\ Cloud \\ VideoIntelligence \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ annotation_results` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.VideoAnnotationResults>` Annotation results for all videos specified in `AnnotateVideoRequest`. |

### getAnnotationResults

Annotation results for all videos specified in `AnnotateVideoRequest`.

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

### setAnnotationResults

Annotation results for all videos specified in `AnnotateVideoRequest`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.VideoAnnotationResults>` |

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