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 \ V1Methods
__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, |
↳ preprocessing_config |
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 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 |