Google Cloud Video Stitcher V1 Client - Class VodSessionAdBreak (0.8.4)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class VodSessionAdBreak.

Metadata for an inserted ad break.

Generated from protobuf message google.cloud.video.stitcher.v1.VodSessionAdBreak

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ progress_events array<Google\Cloud\Video\Stitcher\V1\ProgressEvent>

List of events that are expected to be triggered, ordered by time.

↳ ads array<Google\Cloud\Video\Stitcher\V1\VodSessionAd>

Ordered list of ads stitched into the ad break.

↳ end_time_offset Google\Protobuf\Duration

Ad break end time in seconds relative to the start of the VOD asset.

↳ start_time_offset Google\Protobuf\Duration

Ad break start time in seconds relative to the start of the VOD asset.

getProgressEvents

List of events that are expected to be triggered, ordered by time.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProgressEvents

List of events that are expected to be triggered, ordered by time.

Parameter
Name Description
var array<Google\Cloud\Video\Stitcher\V1\ProgressEvent>
Returns
Type Description
$this

getAds

Ordered list of ads stitched into the ad break.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAds

Ordered list of ads stitched into the ad break.

Parameter
Name Description
var array<Google\Cloud\Video\Stitcher\V1\VodSessionAd>
Returns
Type Description
$this

getEndTimeOffset

Ad break end time in seconds relative to the start of the VOD asset.

Returns
Type Description
Google\Protobuf\Duration|null

hasEndTimeOffset

clearEndTimeOffset

setEndTimeOffset

Ad break end time in seconds relative to the start of the VOD asset.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getStartTimeOffset

Ad break start time in seconds relative to the start of the VOD asset.

Returns
Type Description
Google\Protobuf\Duration|null

hasStartTimeOffset

clearStartTimeOffset

setStartTimeOffset

Ad break start time in seconds relative to the start of the VOD asset.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this