# Google Cloud Video Transcoder V1 Client - Class Overlay (1.4.0)

1.4.0 (latest) 1.3.2 1.2.0 1.1.0 1.0.3 0.10.5 0.9.1 0.8.2 0.7.1 0.6.0 0.5.3 Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class Overlay.

Overlay configuration.

Generated from protobuf message `google.cloud.video.transcoder.v1.Overlay`

## Namespace

Google \\ Cloud \\ Video \\ Transcoder \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ image` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.Image` Image overlay. |
| `↳ animations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.Animation>` List of animations. The list should be chronological, without any time overlap. |

### getImage

Image overlay.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.Image|null` |   |

### hasImage

### clearImage

### setImage

Image overlay.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.Image` |

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

### getAnimations

List of animations. The list should be chronological, without any time
overlap.

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

### setAnimations

List of animations. The list should be chronological, without any time
overlap.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Overlay.Animation>` |

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