class Google::Apis::YoutubeV3::Thumbnail

A thumbnail is an image representing a YouTube resource.

Attributes

height[RW]

(Optional) Height of the thumbnail image. Corresponds to the JSON property `height` @return [Fixnum]

url[RW]

The thumbnail image's URL. Corresponds to the JSON property `url` @return [String]

width[RW]

(Optional) Width of the thumbnail image. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 6491
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 6496
def update!(**args)
  @height = args[:height] if args.key?(:height)
  @url = args[:url] if args.key?(:url)
  @width = args[:width] if args.key?(:width)
end