class Google::Apis::TranscoderV1beta1::EditAtom

Edit atom.

Attributes

end_time_offset[RW]

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` @return [String]

inputs[RW]

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` @return [Array<String>]

key[RW]

A unique key for this atom. Must be specified when using advanced mapping. Corresponds to the JSON property `key` @return [String]

start_time_offset[RW]

Start time in seconds for the atom, relative to the input file timeline. The default is `0s`. Corresponds to the JSON property `startTimeOffset` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 516
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_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