Google Cloud Video Live Stream V1 Client - Class AdBreakTask (0.2.6)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class AdBreakTask.

Inserts a new ad opportunity.

Generated from protobuf message google.cloud.video.livestream.v1.Event.AdBreakTask

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ duration
Google\Protobuf\Duration

Duration of an ad opportunity. Must be greater than 0.

getDuration

Duration of an ad opportunity. Must be greater than 0.

Returns
Type
Description

hasDuration

clearDuration

setDuration

Duration of an ad opportunity. Must be greater than 0.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: