Class: Google::Apis::TranscoderV1::AnimationEnd
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::AnimationEnd
- 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
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
-
#start_time_offset ⇒ String
The time to end overlay object, in seconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnimationEnd
constructor
A new instance of AnimationEnd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnimationEnd
Returns a new instance of AnimationEnd.
102 103 104 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#start_time_offset ⇒ String
The time to end overlay object, in seconds. Default: 0
Corresponds to the JSON property startTimeOffset
100 101 102 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 100 def start_time_offset @start_time_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
107 108 109 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 107 def update!(**args) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) end |