Class: Google::Apis::TranscoderV1beta1::AnimationEnd

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

End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnimationEnd

Returns a new instance of AnimationEnd.



109
110
111
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 109

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

Instance Attribute Details

#start_time_offsetString

The time to end overlay object, in seconds. Default: 0 Corresponds to the JSON property startTimeOffset

Returns:

  • (String)


107
108
109
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 107

def start_time_offset
  @start_time_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



114
115
116
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 114

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