Class: Google::Apis::TranscoderV1::AnimationEnd

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_offsetString

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

Returns:

  • (String)


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