Class: Google::Apis::TranscoderV1::TextMapping
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::TextMapping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
Instance Attribute Summary collapse
-
#atom_key ⇒ String
Required.
-
#input_key ⇒ String
Required.
-
#input_track ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextMapping
constructor
A new instance of TextMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextMapping
Returns a new instance of TextMapping.
2070 2071 2072 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2070 def initialize(**args) update!(**args) end |
Instance Attribute Details
#atom_key ⇒ String
Required. The EditAtom.key that references atom with text inputs in the
JobConfig.edit_list.
Corresponds to the JSON property atomKey
2058 2059 2060 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2058 def atom_key @atom_key end |
#input_key ⇒ String
Required. The Input.key that identifies the input file.
Corresponds to the JSON property inputKey
2063 2064 2065 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2063 def input_key @input_key end |
#input_track ⇒ Fixnum
Required. The zero-based index of the track in the input file.
Corresponds to the JSON property inputTrack
2068 2069 2070 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2068 def input_track @input_track end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2075 2076 2077 2078 2079 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2075 def update!(**args) @atom_key = args[:atom_key] if args.key?(:atom_key) @input_key = args[:input_key] if args.key?(:input_key) @input_track = args[:input_track] if args.key?(:input_track) end |