class Google::Apis::YoutubeV3::InvideoBranding

LINT.IfChange Describes an invideo branding.

Attributes

image_bytes[RW]

The bytes the uploaded image. Only used in api to youtube communication. Corresponds to the JSON property `imageBytes` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

image_url[RW]

The url of the uploaded image. Only used in apiary to api communication. 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]

The channel to which this branding links. If not present it defaults to the current channel. 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 lib/google/apis/youtube_v3/classes.rb, line 3376
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 3381
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