Google Cloud Video Transcoder V1beta1 Client - Class Input (0.5.3)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class Input.

Input asset.

Generated from protobuf message google.cloud.video.transcoder.v1beta1.Input

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

A unique key for this input. Must be specified when using advanced mapping and edit lists.

↳ uri string

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value will be populated from Job.input_uri.

↳ preprocessing_config Google\Cloud\Video\Transcoder\V1beta1\PreprocessingConfig

Preprocessing configurations.

getKey

A unique key for this input. Must be specified when using advanced mapping and edit lists.

Returns
TypeDescription
string

setKey

A unique key for this input. Must be specified when using advanced mapping and edit lists.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4).

If empty, the value will be populated from Job.input_uri.

Returns
TypeDescription
string

setUri

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4).

If empty, the value will be populated from Job.input_uri.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPreprocessingConfig

Preprocessing configurations.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1beta1\PreprocessingConfig|null

hasPreprocessingConfig

clearPreprocessingConfig

setPreprocessingConfig

Preprocessing configurations.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1beta1\PreprocessingConfig
Returns
TypeDescription
$this