Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class SlateTask.
Inserts a slate.
Generated from protobuf message google.cloud.video.livestream.v1.Event.SlateTask
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ EventMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ duration
Google\Protobuf\Duration
Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.
↳ asset
string
Slate asset to use for the duration. If its duration is less than the duration of the SlateTask, then it will be looped. The slate must be represented in the form of: projects/{project}/locations/{location}/assets/{assetId}
.
getDuration
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
hasDuration
clearDuration
setDuration
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
$this
getAsset
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of: projects/{project}/locations/{location}/assets/{assetId}
.
string
setAsset
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of: projects/{project}/locations/{location}/assets/{assetId}
.
var
string
$this