class Google::Apis::YoutubeV3::ImageSettings

Branding properties for images associated with the channel.

Attributes

background_image_url[RW]

The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k. Corresponds to the JSON property `backgroundImageUrl` @return [Google::Apis::YoutubeV3::LocalizedProperty]

banner_external_url[RW]

This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs. Corresponds to the JSON property `bannerExternalUrl` @return [String]

banner_image_url[RW]

Banner image. Desktop size (1060x175). Corresponds to the JSON property `bannerImageUrl` @return [String]

banner_mobile_extra_hd_image_url[RW]

Banner image. Mobile size high resolution (1440x395). Corresponds to the JSON property `bannerMobileExtraHdImageUrl` @return [String]

banner_mobile_hd_image_url[RW]

Banner image. Mobile size high resolution (1280x360). Corresponds to the JSON property `bannerMobileHdImageUrl` @return [String]

banner_mobile_image_url[RW]

Banner image. Mobile size (640x175). Corresponds to the JSON property `bannerMobileImageUrl` @return [String]

banner_mobile_low_image_url[RW]

Banner image. Mobile size low resolution (320x88). Corresponds to the JSON property `bannerMobileLowImageUrl` @return [String]

banner_mobile_medium_hd_image_url[RW]

Banner image. Mobile size medium/high resolution (960x263). Corresponds to the JSON property `bannerMobileMediumHdImageUrl` @return [String]

banner_tablet_extra_hd_image_url[RW]

Banner image. Tablet size extra high resolution (2560x424). Corresponds to the JSON property `bannerTabletExtraHdImageUrl` @return [String]

banner_tablet_hd_image_url[RW]

Banner image. Tablet size high resolution (2276x377). Corresponds to the JSON property `bannerTabletHdImageUrl` @return [String]

banner_tablet_image_url[RW]

Banner image. Tablet size (1707x283). Corresponds to the JSON property `bannerTabletImageUrl` @return [String]

banner_tablet_low_image_url[RW]

Banner image. Tablet size low resolution (1138x188). Corresponds to the JSON property `bannerTabletLowImageUrl` @return [String]

banner_tv_high_image_url[RW]

Banner image. TV size high resolution (1920x1080). Corresponds to the JSON property `bannerTvHighImageUrl` @return [String]

banner_tv_image_url[RW]

Banner image. TV size extra high resolution (2120x1192). Corresponds to the JSON property `bannerTvImageUrl` @return [String]

banner_tv_low_image_url[RW]

Banner image. TV size low resolution (854x480). Corresponds to the JSON property `bannerTvLowImageUrl` @return [String]

banner_tv_medium_image_url[RW]

Banner image. TV size medium resolution (1280x720). Corresponds to the JSON property `bannerTvMediumImageUrl` @return [String]

large_branded_banner_image_imap_script[RW]

The image map script for the large banner image. Corresponds to the JSON property `largeBrandedBannerImageImapScript` @return [Google::Apis::YoutubeV3::LocalizedProperty]

large_branded_banner_image_url[RW]

The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page. Corresponds to the JSON property `largeBrandedBannerImageUrl` @return [Google::Apis::YoutubeV3::LocalizedProperty]

small_branded_banner_image_imap_script[RW]

The image map script for the small banner image. Corresponds to the JSON property `smallBrandedBannerImageImapScript` @return [Google::Apis::YoutubeV3::LocalizedProperty]

small_branded_banner_image_url[RW]

The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page. Corresponds to the JSON property `smallBrandedBannerImageUrl` @return [Google::Apis::YoutubeV3::LocalizedProperty]

tracking_image_url[RW]

The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages. Corresponds to the JSON property `trackingImageUrl` @return [String]

watch_icon_image_url[RW]

The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels. Corresponds to the JSON property `watchIconImageUrl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 3402
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 3407
def update!(**args)
  @background_image_url = args[:background_image_url] if args.key?(:background_image_url)
  @banner_external_url = args[:banner_external_url] if args.key?(:banner_external_url)
  @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
  @banner_mobile_extra_hd_image_url = args[:banner_mobile_extra_hd_image_url] if args.key?(:banner_mobile_extra_hd_image_url)
  @banner_mobile_hd_image_url = args[:banner_mobile_hd_image_url] if args.key?(:banner_mobile_hd_image_url)
  @banner_mobile_image_url = args[:banner_mobile_image_url] if args.key?(:banner_mobile_image_url)
  @banner_mobile_low_image_url = args[:banner_mobile_low_image_url] if args.key?(:banner_mobile_low_image_url)
  @banner_mobile_medium_hd_image_url = args[:banner_mobile_medium_hd_image_url] if args.key?(:banner_mobile_medium_hd_image_url)
  @banner_tablet_extra_hd_image_url = args[:banner_tablet_extra_hd_image_url] if args.key?(:banner_tablet_extra_hd_image_url)
  @banner_tablet_hd_image_url = args[:banner_tablet_hd_image_url] if args.key?(:banner_tablet_hd_image_url)
  @banner_tablet_image_url = args[:banner_tablet_image_url] if args.key?(:banner_tablet_image_url)
  @banner_tablet_low_image_url = args[:banner_tablet_low_image_url] if args.key?(:banner_tablet_low_image_url)
  @banner_tv_high_image_url = args[:banner_tv_high_image_url] if args.key?(:banner_tv_high_image_url)
  @banner_tv_image_url = args[:banner_tv_image_url] if args.key?(:banner_tv_image_url)
  @banner_tv_low_image_url = args[:banner_tv_low_image_url] if args.key?(:banner_tv_low_image_url)
  @banner_tv_medium_image_url = args[:banner_tv_medium_image_url] if args.key?(:banner_tv_medium_image_url)
  @large_branded_banner_image_imap_script = args[:large_branded_banner_image_imap_script] if args.key?(:large_branded_banner_image_imap_script)
  @large_branded_banner_image_url = args[:large_branded_banner_image_url] if args.key?(:large_branded_banner_image_url)
  @small_branded_banner_image_imap_script = args[:small_branded_banner_image_imap_script] if args.key?(:small_branded_banner_image_imap_script)
  @small_branded_banner_image_url = args[:small_branded_banner_image_url] if args.key?(:small_branded_banner_image_url)
  @tracking_image_url = args[:tracking_image_url] if args.key?(:tracking_image_url)
  @watch_icon_image_url = args[:watch_icon_image_url] if args.key?(:watch_icon_image_url)
end