# Google Cloud Video Stitcher V1 Client - Class Slate (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 Slate.

Slate object

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The name of the slate, in the form of `projects/{project_number}/locations/{location}/slates/{id}`. |
| `↳ uri` | `string` The URI to fetch the source content for the slate. This URI must return an MP4 video with at least one audio track. |
| `↳ gam_slate` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Slate.GamSlate` gam_slate has all the GAM-related attributes of slates. |

### getName

Output only. The name of the slate, in the form of
`projects/{project_number}/locations/{location}/slates/{id}`.

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

### setName

Output only. The name of the slate, in the form of
`projects/{project_number}/locations/{location}/slates/{id}`.

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

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

### getUri

The URI to fetch the source content for the slate. This URI must return an
MP4 video with at least one audio track.

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

### setUri

The URI to fetch the source content for the slate. This URI must return an
MP4 video with at least one audio track.

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

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

### getGamSlate

gam_slate has all the GAM-related attributes of slates.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Slate.GamSlate|null` |   |

### hasGamSlate

### clearGamSlate

### setGamSlate

gam_slate has all the GAM-related attributes of slates.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.Slate.GamSlate` |

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