Class: Google::Apis::TranscoderV1beta1::AnimationEnd
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::AnimationEnd
- 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
-
#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.
109 110 111 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 109 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
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 |