class Google::Apis::YoutubeV3::InvideoPosition

Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one.

Attributes

corner_position[RW]

Describes in which corner of the video the visual widget will appear. Corresponds to the JSON property `cornerPosition` @return [String]

type[RW]

Defines the position type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 3405
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 3410
def update!(**args)
  @corner_position = args[:corner_position] if args.key?(:corner_position)
  @type = args[:type] if args.key?(:type)
end