Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class AdStitchDetail.
Metadata for a stitched ad.
Generated from protobuf message google.cloud.video.stitcher.v1.AdStitchDetail
Namespace
Google \ Cloud \ Video \ Stitcher \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ad_break_id |
string
Required. The ad break ID of the processed ad. |
↳ ad_id |
string
Required. The ad ID of the processed ad. |
↳ ad_time_offset |
Google\Protobuf\Duration
Required. The time offset of the processed ad. |
↳ skip_reason |
string
Optional. Indicates the reason why the ad has been skipped. |
↳ media |
array|Google\Protobuf\Internal\MapField
Optional. The metadata of the chosen media file for the ad. |
getAdBreakId
Required. The ad break ID of the processed ad.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAdBreakId
Required. The ad break ID of the processed ad.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdId
Required. The ad ID of the processed ad.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAdId
Required. The ad ID of the processed ad.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdTimeOffset
Required. The time offset of the processed ad.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasAdTimeOffset
clearAdTimeOffset
setAdTimeOffset
Required. The time offset of the processed ad.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSkipReason
Optional. Indicates the reason why the ad has been skipped.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSkipReason
Optional. Indicates the reason why the ad has been skipped.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMedia
Optional. The metadata of the chosen media file for the ad.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setMedia
Optional. The metadata of the chosen media file for the ad.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|