class Google::Apis::YoutubeV3::ThumbnailDetails

Internal representation of thumbnails for a YouTube resource.

Attributes

default[RW]

A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `default` @return [Google::Apis::YoutubeV3::Thumbnail]

high[RW]

A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `high` @return [Google::Apis::YoutubeV3::Thumbnail]

maxres[RW]

A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `maxres` @return [Google::Apis::YoutubeV3::Thumbnail]

medium[RW]

A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `medium` @return [Google::Apis::YoutubeV3::Thumbnail]

standard[RW]

A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `standard` @return [Google::Apis::YoutubeV3::Thumbnail]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 6532
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 6537
def update!(**args)
  @default = args[:default] if args.key?(:default)
  @high = args[:high] if args.key?(:high)
  @maxres = args[:maxres] if args.key?(:maxres)
  @medium = args[:medium] if args.key?(:medium)
  @standard = args[:standard] if args.key?(:standard)
end