Class: Google::Apis::TranscoderV1beta1::Animation
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Animation
- 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
Animation types.
Instance Attribute Summary collapse
-
#animation_end ⇒ Google::Apis::TranscoderV1beta1::AnimationEnd
End previous overlay animation from the video.
-
#animation_fade ⇒ Google::Apis::TranscoderV1beta1::AnimationFade
Display overlay object with fade animation.
-
#animation_static ⇒ Google::Apis::TranscoderV1beta1::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.
86 87 88 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 86 def initialize(**args) update!(**args) end |
Instance Attribute Details
#animation_end ⇒ Google::Apis::TranscoderV1beta1::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
74 75 76 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 74 def animation_end @animation_end end |
#animation_fade ⇒ Google::Apis::TranscoderV1beta1::AnimationFade
Display overlay object with fade animation.
Corresponds to the JSON property animationFade
79 80 81 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 79 def animation_fade @animation_fade end |
#animation_static ⇒ Google::Apis::TranscoderV1beta1::AnimationStatic
Display static overlay object.
Corresponds to the JSON property animationStatic
84 85 86 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 84 def animation_static @animation_static end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
91 92 93 94 95 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 91 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 |