Class: Google::Apis::YoutubeV3::ThumbnailDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ThumbnailDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Internal representation of thumbnails for a YouTube resource.
Instance Attribute Summary collapse
-
#default ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
-
#high ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
-
#maxres ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
-
#medium ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
-
#standard ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThumbnailDetails
constructor
A new instance of ThumbnailDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ThumbnailDetails
Returns a new instance of ThumbnailDetails
6790 6791 6792 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6790 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Corresponds to the JSON property default
6768 6769 6770 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6768 def default @default end |
#high ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Corresponds to the JSON property high
6773 6774 6775 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6773 def high @high end |
#maxres ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Corresponds to the JSON property maxres
6778 6779 6780 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6778 def maxres @maxres end |
#medium ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Corresponds to the JSON property medium
6783 6784 6785 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6783 def medium @medium end |
#standard ⇒ Google::Apis::YoutubeV3::Thumbnail
A thumbnail is an image representing a YouTube resource.
Corresponds to the JSON property standard
6788 6789 6790 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6788 def standard @standard end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6795 6796 6797 6798 6799 6800 6801 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 6795 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 |