# Google Cloud Video Stitcher V1 Client - Class HtmlAdResource (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class HtmlAdResource.

Metadata for an HTML ad resource.

Generated from protobuf message `google.cloud.video.stitcher.v1.HtmlAdResource`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ html_source` | `string` The HTML to display for the ad resource. |

### getHtmlSource

The HTML to display for the ad resource.

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

### setHtmlSource

The HTML to display for the ad resource.

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

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