class Google::Apis::TranscoderV1::AudioMapping

The mapping for the ‘Job.edit_list` atoms with audio `EditAtom.inputs`.

Attributes

atom_key[RW]

Required. The ‘EditAtom.key` that references the atom with audio inputs in the `Job.edit_list`. Corresponds to the JSON property `atomKey` @return [String]

gain_db[RW]

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0. Corresponds to the JSON property ‘gainDb` @return [Float]

input_channel[RW]

Required. The zero-based index of the channel in the input audio stream. Corresponds to the JSON property ‘inputChannel` @return [Fixnum]

input_key[RW]

Required. The ‘Input.key` that identifies the input file. Corresponds to the JSON property `inputKey` @return [String]

input_track[RW]

Required. The zero-based index of the track in the input file. Corresponds to the JSON property ‘inputTrack` @return [Fixnum]

output_channel[RW]

Required. The zero-based index of the channel in the output audio stream. Corresponds to the JSON property ‘outputChannel` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 239
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 244
def update!(**args)
  @atom_key = args[:atom_key] if args.key?(:atom_key)
  @gain_db = args[:gain_db] if args.key?(:gain_db)
  @input_channel = args[:input_channel] if args.key?(:input_channel)
  @input_key = args[:input_key] if args.key?(:input_key)
  @input_track = args[:input_track] if args.key?(:input_track)
  @output_channel = args[:output_channel] if args.key?(:output_channel)
end