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
Namespace
Google \ Cloud \ Video \ Transcoder \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ inputs | array<Input>List of input assets stored in Cloud Storage. | 
| ↳ edit_list | array<EditAtom>List of edit atoms. Defines the ultimate timeline of the resulting file or manifest. | 
| ↳ elementary_streams | array<ElementaryStream>List of elementary streams. | 
| ↳ mux_streams | array<MuxStream>List of multiplexing settings for output streams. | 
| ↳ manifests | array<Manifest>List of output manifests. | 
| ↳ output | OutputOutput configuration. | 
| ↳ ad_breaks | array<AdBreak>List of ad breaks. Specifies where to insert ad break tags in the output manifests. | 
| ↳ pubsub_destination | PubsubDestinationDestination on Pub/Sub. | 
| ↳ sprite_sheets | array<SpriteSheet>List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig. | 
| ↳ overlays | array<Overlay>List of overlays on the output video, in descending Z-order. | 
| ↳ encryptions | array<Encryption>List of encryption configurations for the content. Each configuration has an ID. Specify this ID in the MuxStream.encryption_id field to indicate the configuration to use for that  | 
getInputs
List of input assets stored in Cloud Storage.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setInputs
List of input assets stored in Cloud Storage.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Input> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEditList
List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setEditList
List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<EditAtom> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getElementaryStreams
List of elementary streams.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setElementaryStreams
List of elementary streams.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<ElementaryStream> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getMuxStreams
List of multiplexing settings for output streams.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setMuxStreams
List of multiplexing settings for output streams.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<MuxStream> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getManifests
List of output manifests.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setManifests
List of output manifests.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Manifest> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getOutput
Output configuration.
| Returns | |
|---|---|
| Type | Description | 
| Output|null | |
hasOutput
clearOutput
setOutput
Output configuration.
| Parameter | |
|---|---|
| Name | Description | 
| var | Output | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getAdBreaks
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setAdBreaks
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<AdBreak> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getPubsubDestination
Destination on Pub/Sub.
| Returns | |
|---|---|
| Type | Description | 
| PubsubDestination|null | |
hasPubsubDestination
clearPubsubDestination
setPubsubDestination
Destination on Pub/Sub.
| Parameter | |
|---|---|
| Name | Description | 
| var | PubsubDestination | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getSpriteSheets
List of output sprite sheets.
Spritesheets require at least one VideoStream in the Jobconfig.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setSpriteSheets
List of output sprite sheets.
Spritesheets require at least one VideoStream in the Jobconfig.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<SpriteSheet> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getOverlays
List of overlays on the output video, in descending Z-order.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setOverlays
List of overlays on the output video, in descending Z-order.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Overlay> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEncryptions
List of encryption configurations for the content.
Each configuration has an ID. Specify this ID in the
MuxStream.encryption_id
field to indicate the configuration to use for that MuxStream output.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setEncryptions
List of encryption configurations for the content.
Each configuration has an ID. Specify this ID in the
MuxStream.encryption_id
field to indicate the configuration to use for that MuxStream output.
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Encryption> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |