Class: Google::Apis::TranscoderV1::Animation
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Animation
- 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
Animation types.
Instance Attribute Summary collapse
-
#animation_end ⇒ Google::Apis::TranscoderV1::AnimationEnd
End previous overlay animation from the video.
-
#animation_fade ⇒ Google::Apis::TranscoderV1::AnimationFade
Display overlay object with fade animation.
-
#animation_static ⇒ Google::Apis::TranscoderV1::AnimationStatic
Display static overlay object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Animation
constructor
A new instance of Animation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Animation
Returns a new instance of Animation.
66 67 68 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 66 def initialize(**args) update!(**args) end |
Instance Attribute Details
#animation_end ⇒ Google::Apis::TranscoderV1::AnimationEnd
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.
Corresponds to the JSON property animationEnd
54 55 56 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 54 def animation_end @animation_end end |
#animation_fade ⇒ Google::Apis::TranscoderV1::AnimationFade
Display overlay object with fade animation.
Corresponds to the JSON property animationFade
59 60 61 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 59 def animation_fade @animation_fade end |
#animation_static ⇒ Google::Apis::TranscoderV1::AnimationStatic
Display static overlay object.
Corresponds to the JSON property animationStatic
64 65 66 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 64 def animation_static @animation_static end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
71 72 73 74 75 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 71 def update!(**args) @animation_end = args[:animation_end] if args.key?(:animation_end) @animation_fade = args[:animation_fade] if args.key?(:animation_fade) @animation_static = args[:animation_static] if args.key?(:animation_static) end |