# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::Input (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::Input.

Input asset.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #attributes

    def attributes() -> ::Google::Cloud::Video::Transcoder::V1::InputAttributes

**Returns**

- ([::Google::Cloud::Video::Transcoder::V1::InputAttributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-InputAttributes)) --- Optional. Input Attributes.

### #attributes=

    def attributes=(value) -> ::Google::Cloud::Video::Transcoder::V1::InputAttributes

**Parameter**

- **value** ([::Google::Cloud::Video::Transcoder::V1::InputAttributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-InputAttributes)) --- Optional. Input Attributes.
**Returns**

- ([::Google::Cloud::Video::Transcoder::V1::InputAttributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-InputAttributes)) --- Optional. Input Attributes.

### #key

    def key() -> ::String

**Returns**

- (::String) --- A unique key for this input. Must be specified when using advanced mapping and edit lists.

### #key=

    def key=(value) -> ::String

**Parameter**

- **value** (::String) --- A unique key for this input. Must be specified when using advanced mapping and edit lists.
**Returns**

- (::String) --- A unique key for this input. Must be specified when using advanced mapping and edit lists.

### #preprocessing_config

    def preprocessing_config() -> ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig

**Returns**

- ([::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig)) --- Preprocessing configurations.

### #preprocessing_config=

    def preprocessing_config=(value) -> ::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig

**Parameter**

- **value** ([::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig)) --- Preprocessing configurations.
**Returns**

- ([::Google::Cloud::Video::Transcoder::V1::PreprocessingConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-PreprocessingConfig)) --- Preprocessing configurations.

### #uri

    def uri() -> ::String

**Returns**

- (::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Job#Google__Cloud__Video__Transcoder__V1__Job_input_uri_instance_ "Google::Cloud::Video::Transcoder::V1::Job#input_uri (method)"). See [Supported input and output
  formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Job#Google__Cloud__Video__Transcoder__V1__Job_input_uri_instance_ "Google::Cloud::Video::Transcoder::V1::Job#input_uri (method)"). See [Supported input and output
  formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
**Returns**

- (::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Job#Google__Cloud__Video__Transcoder__V1__Job_input_uri_instance_ "Google::Cloud::Video::Transcoder::V1::Job#input_uri (method)"). See [Supported input and output
  formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).