Class: Google::Apis::TranscoderV1::Overlay
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::Overlay
- 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
Overlay configuration.
Instance Attribute Summary collapse
-
#animations ⇒ Array<Google::Apis::TranscoderV1::Animation>
List of Animations.
-
#image ⇒ Google::Apis::TranscoderV1::Image
Overlaid jpeg image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Overlay
constructor
A new instance of Overlay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Overlay
Returns a new instance of Overlay.
1437 1438 1439 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#animations ⇒ Array<Google::Apis::TranscoderV1::Animation>
List of Animations. The list should be chronological, without any time overlap.
Corresponds to the JSON property animations
1430 1431 1432 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1430 def animations @animations end |
#image ⇒ Google::Apis::TranscoderV1::Image
Overlaid jpeg image.
Corresponds to the JSON property image
1435 1436 1437 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1435 def image @image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1442 1443 1444 1445 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1442 def update!(**args) @animations = args[:animations] if args.key?(:animations) @image = args[:image] if args.key?(:image) end |