Google Cloud Video Live Stream V1 Client - Class Slice (1.1.0)

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

Slice represents a slice of the requested clip.

Generated from protobuf message google.cloud.video.livestream.v1.Clip.Slice

Namespace

Google \ Cloud \ Video \ LiveStream \ V1 \ Clip

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_slice Google\Cloud\Video\LiveStream\V1\Clip\TimeSlice

A slice in form of a tuple of Unix epoch time.

getTimeSlice

A slice in form of a tuple of Unix epoch time.

Returns
Type Description
Google\Cloud\Video\LiveStream\V1\Clip\TimeSlice|null

hasTimeSlice

setTimeSlice

A slice in form of a tuple of Unix epoch time.

Parameter
Name Description
var Google\Cloud\Video\LiveStream\V1\Clip\TimeSlice
Returns
Type Description
$this

getKind

Returns
Type Description
string