Google Cloud Video Transcoder V1 Client - Class Input (0.7.1)

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

Input asset.

Generated from protobuf message google.cloud.video.transcoder.v1.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 is populated from Job.input_uri. See Supported input and output formats.

↳ preprocessing_config Google\Cloud\Video\Transcoder\V1\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 is populated from Job.input_uri. See Supported input and output formats.

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 is populated from Job.input_uri. See Supported input and output formats.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPreprocessingConfig

Preprocessing configurations.

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

hasPreprocessingConfig

clearPreprocessingConfig

setPreprocessingConfig

Preprocessing configurations.

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