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

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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setKey

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getPreprocessingConfig

Preprocessing configurations.

Returns
Type Description
Google\Cloud\Video\Transcoder\V1beta1\PreprocessingConfig|null

hasPreprocessingConfig

clearPreprocessingConfig

setPreprocessingConfig

Preprocessing configurations.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1beta1\PreprocessingConfig
Returns
Type Description
$this