class Google::Apis::YoutubeV3::ThumbnailDetails
Internal representation of thumbnails for a YouTube resource.
Attributes
A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `default` @return [Google::Apis::YoutubeV3::Thumbnail]
A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `high` @return [Google::Apis::YoutubeV3::Thumbnail]
A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `maxres` @return [Google::Apis::YoutubeV3::Thumbnail]
A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `medium` @return [Google::Apis::YoutubeV3::Thumbnail]
A thumbnail is an image representing a YouTube resource. Corresponds to the JSON property `standard` @return [Google::Apis::YoutubeV3::Thumbnail]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 7045 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 7050 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