Class: Google::Apis::TranscoderV1beta1::AudioAtom

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AudioAtom

Returns a new instance of AudioAtom.



236
237
238
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 236

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channelsArray<Google::Apis::TranscoderV1beta1::AudioChannel>

List of Channels for this audio stream. for in-depth explanation. Corresponds to the JSON property channels



228
229
230
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 228

def channels
  @channels
end

#keyString

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list. Corresponds to the JSON property key

Returns:

  • (String)


234
235
236
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 234

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



241
242
243
244
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 241

def update!(**args)
  @channels = args[:channels] if args.key?(:channels)
  @key = args[:key] if args.key?(:key)
end