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

Information related to the interstitial of a VOD session. This resource is
only available for VOD sessions that do not implement Google Ad Manager ad
insertion.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of the stitch detail in the specified VOD session, in the form of `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`. |
| `↳ ad_stitch_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.AdStitchDetail>` A list of ad processing details for the fetched ad playlist. |

### getName

The name of the stitch detail in the specified VOD session, in the form of
`projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.

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

### setName

The name of the stitch detail in the specified VOD session, in the form of
`projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.

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

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

### getAdStitchDetails

A list of ad processing details for the fetched ad playlist.

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

### setAdStitchDetails

A list of ad processing details for the fetched ad playlist.

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

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