Class: Google::Apis::TranscoderV1beta1::EditAtom
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::EditAtom
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb
Overview
Edit atom.
Instance Attribute Summary collapse
-
#end_time_offset ⇒ String
End time in seconds for the atom, relative to the input file timeline.
-
#inputs ⇒ Array<String>
List of
Input.key
s identifying files that should be used in this atom. -
#key ⇒ String
A unique key for this atom.
-
#start_time_offset ⇒ String
Start time in seconds for the atom, relative to the input file timeline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EditAtom
constructor
A new instance of EditAtom.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EditAtom
Returns a new instance of EditAtom.
516 517 518 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time_offset ⇒ String
End time in seconds for the atom, relative to the input file timeline. When
end_time_offset
is not specified, the inputs
are used until the end of the
atom.
Corresponds to the JSON property endTimeOffset
497 498 499 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 497 def end_time_offset @end_time_offset end |
#inputs ⇒ Array<String>
List of Input.key
s identifying files that should be used in this atom. The
listed inputs
must have the same timeline.
Corresponds to the JSON property inputs
503 504 505 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 503 def inputs @inputs end |
#key ⇒ String
A unique key for this atom. Must be specified when using advanced mapping.
Corresponds to the JSON property key
508 509 510 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 508 def key @key end |
#start_time_offset ⇒ String
Start time in seconds for the atom, relative to the input file timeline. The
default is 0s
.
Corresponds to the JSON property startTimeOffset
514 515 516 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 514 def start_time_offset @start_time_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
521 522 523 524 525 526 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 521 def update!(**args) @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset) @inputs = args[:inputs] if args.key?(:inputs) @key = args[:key] if args.key?(:key) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) end |