Google Cloud Video Stitcher V1 Client - Class AdStitchDetail (0.5.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setAdBreakId

Required. The ad break ID of the processed ad.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAdId

Required. The ad ID of the processed ad.

Returns
TypeDescription
string

setAdId

Required. The ad ID of the processed ad.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAdTimeOffset

Required. The time offset of the processed ad.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasAdTimeOffset

clearAdTimeOffset

setAdTimeOffset

Required. The time offset of the processed ad.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getSkipReason

Optional. Indicates the reason why the ad has been skipped.

Returns
TypeDescription
string

setSkipReason

Optional. Indicates the reason why the ad has been skipped.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMedia

Optional. The metadata of the chosen media file for the ad.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMedia

Optional. The metadata of the chosen media file for the ad.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this