Google Cloud Video Transcoder V1 Client - Class JobConfig (0.5.3)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class JobConfig.

Job configuration

Generated from protobuf message google.cloud.video.transcoder.v1.JobConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ inputs array<Google\Cloud\Video\Transcoder\V1\Input>

List of input assets stored in Cloud Storage.

↳ edit_list array<Google\Cloud\Video\Transcoder\V1\EditAtom>

List of Edit atoms. Defines the ultimate timeline of the resulting file or manifest.

↳ elementary_streams array<Google\Cloud\Video\Transcoder\V1\ElementaryStream>

List of elementary streams.

↳ mux_streams array<Google\Cloud\Video\Transcoder\V1\MuxStream>

List of multiplexing settings for output streams.

↳ manifests array<Google\Cloud\Video\Transcoder\V1\Manifest>

List of output manifests.

↳ output Google\Cloud\Video\Transcoder\V1\Output

Output configuration.

↳ ad_breaks array<Google\Cloud\Video\Transcoder\V1\AdBreak>

List of ad breaks. Specifies where to insert ad break tags in the output manifests.

↳ pubsub_destination Google\Cloud\Video\Transcoder\V1\PubsubDestination

Destination on Pub/Sub.

↳ sprite_sheets array<Google\Cloud\Video\Transcoder\V1\SpriteSheet>

List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.

↳ overlays array<Google\Cloud\Video\Transcoder\V1\Overlay>

List of overlays on the output video, in descending Z-order.

getInputs

List of input assets stored in Cloud Storage.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInputs

List of input assets stored in Cloud Storage.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\Input>
Returns
TypeDescription
$this

getEditList

List of Edit atoms. Defines the ultimate timeline of the resulting file or manifest.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEditList

List of Edit atoms. Defines the ultimate timeline of the resulting file or manifest.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\EditAtom>
Returns
TypeDescription
$this

getElementaryStreams

List of elementary streams.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setElementaryStreams

List of elementary streams.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\ElementaryStream>
Returns
TypeDescription
$this

getMuxStreams

List of multiplexing settings for output streams.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMuxStreams

List of multiplexing settings for output streams.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\MuxStream>
Returns
TypeDescription
$this

getManifests

List of output manifests.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setManifests

List of output manifests.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\Manifest>
Returns
TypeDescription
$this

getOutput

Output configuration.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\Output|null

hasOutput

clearOutput

setOutput

Output configuration.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\Output
Returns
TypeDescription
$this

getAdBreaks

List of ad breaks. Specifies where to insert ad break tags in the output manifests.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdBreaks

List of ad breaks. Specifies where to insert ad break tags in the output manifests.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\AdBreak>
Returns
TypeDescription
$this

getPubsubDestination

Destination on Pub/Sub.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\PubsubDestination|null

hasPubsubDestination

clearPubsubDestination

setPubsubDestination

Destination on Pub/Sub.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\PubsubDestination
Returns
TypeDescription
$this

getSpriteSheets

List of output sprite sheets.

Spritesheets require at least one VideoStream in the Jobconfig.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSpriteSheets

List of output sprite sheets.

Spritesheets require at least one VideoStream in the Jobconfig.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\SpriteSheet>
Returns
TypeDescription
$this

getOverlays

List of overlays on the output video, in descending Z-order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOverlays

List of overlays on the output video, in descending Z-order.

Parameter
NameDescription
var array<Google\Cloud\Video\Transcoder\V1\Overlay>
Returns
TypeDescription
$this