class Google::Apis::YoutubeV3::InvideoBranding
Attributes
image_bytes[RW]
Corresponds to the JSON property `imageBytes` @return [String]
image_url[RW]
Corresponds to the JSON property `imageUrl` @return [String]
position[RW]
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. Corresponds to the JSON property `position` @return [Google::Apis::YoutubeV3::InvideoPosition]
target_channel_id[RW]
Corresponds to the JSON property `targetChannelId` @return [String]
timing[RW]
Describes a temporal position of a visual widget inside a video. Corresponds to the JSON property `timing` @return [Google::Apis::YoutubeV3::InvideoTiming]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 3501 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 3506 def update!(**args) @image_bytes = args[:image_bytes] if args.key?(:image_bytes) @image_url = args[:image_url] if args.key?(:image_url) @position = args[:position] if args.key?(:position) @target_channel_id = args[:target_channel_id] if args.key?(:target_channel_id) @timing = args[:timing] if args.key?(:timing) end