Google Cloud Video Transcoder V1 Client - Class Input (1.3.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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

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

↳ preprocessing_config PreprocessingConfig

Preprocessing configurations.

↳ attributes InputAttributes

Optional. Input Attributes.

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPreprocessingConfig

Preprocessing configurations.

Returns
Type Description
PreprocessingConfig|null

hasPreprocessingConfig

clearPreprocessingConfig

setPreprocessingConfig

Preprocessing configurations.

Parameter
Name Description
var PreprocessingConfig
Returns
Type Description
$this

getAttributes

Optional. Input Attributes.

Returns
Type Description
InputAttributes|null

hasAttributes

clearAttributes

setAttributes

Optional. Input Attributes.

Parameter
Name Description
var InputAttributes
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.