# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::AudioStream::AudioMapping (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::AudioStream::AudioMapping.

The mapping for the
[JobConfig.edit_list](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-JobConfig#Google__Cloud__Video__Transcoder__V1__JobConfig_edit_list_instance_ "Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list (method)")
atoms with audio
[EditAtom.inputs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-EditAtom#Google__Cloud__Video__Transcoder__V1__EditAtom_inputs_instance_ "Google::Cloud::Video::Transcoder::V1::EditAtom#inputs (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #atom_key

    def atom_key() -> ::String

**Returns**

- (::String) --- Required. The [EditAtom.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-EditAtom#Google__Cloud__Video__Transcoder__V1__EditAtom_key_instance_ "Google::Cloud::Video::Transcoder::V1::EditAtom#key (method)") that references the atom with audio inputs in the [JobConfig.edit_list](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-JobConfig#Google__Cloud__Video__Transcoder__V1__JobConfig_edit_list_instance_ "Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list (method)").

### #atom_key=

    def atom_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The [EditAtom.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-EditAtom#Google__Cloud__Video__Transcoder__V1__EditAtom_key_instance_ "Google::Cloud::Video::Transcoder::V1::EditAtom#key (method)") that references the atom with audio inputs in the [JobConfig.edit_list](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-JobConfig#Google__Cloud__Video__Transcoder__V1__JobConfig_edit_list_instance_ "Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list (method)").
**Returns**

- (::String) --- Required. The [EditAtom.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-EditAtom#Google__Cloud__Video__Transcoder__V1__EditAtom_key_instance_ "Google::Cloud::Video::Transcoder::V1::EditAtom#key (method)") that references the atom with audio inputs in the [JobConfig.edit_list](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-JobConfig#Google__Cloud__Video__Transcoder__V1__JobConfig_edit_list_instance_ "Google::Cloud::Video::Transcoder::V1::JobConfig#edit_list (method)").

### #gain_db

    def gain_db() -> ::Float

**Returns**

- (::Float) --- Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

### #gain_db=

    def gain_db=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.
**Returns**

- (::Float) --- Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

### #input_channel

    def input_channel() -> ::Integer

**Returns**

- (::Integer) --- Required. The zero-based index of the channel in the input audio stream.

### #input_channel=

    def input_channel=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The zero-based index of the channel in the input audio stream.
**Returns**

- (::Integer) --- Required. The zero-based index of the channel in the input audio stream.

### #input_key

    def input_key() -> ::String

**Returns**

- (::String) --- Required. The [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") that identifies the input file.

### #input_key=

    def input_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") that identifies the input file.
**Returns**

- (::String) --- Required. The [Input.key](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Input#Google__Cloud__Video__Transcoder__V1__Input_key_instance_ "Google::Cloud::Video::Transcoder::V1::Input#key (method)") that identifies the input file.

### #input_track

    def input_track() -> ::Integer

**Returns**

- (::Integer) --- Required. The zero-based index of the track in the input file.

### #input_track=

    def input_track=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The zero-based index of the track in the input file.
**Returns**

- (::Integer) --- Required. The zero-based index of the track in the input file.

### #output_channel

    def output_channel() -> ::Integer

**Returns**

- (::Integer) --- Required. The zero-based index of the channel in the output audio stream.

### #output_channel=

    def output_channel=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. The zero-based index of the channel in the output audio stream.
**Returns**

- (::Integer) --- Required. The zero-based index of the channel in the output audio stream.