class Google::Apis::YoutubeV3::PlaylistItemSnippet
Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist
item provided by the author. Next ID: 15
Attributes
The ID that YouTube uses to uniquely identify the user that added the item to the playlist. Corresponds to the JSON property `channelId` @return [String]
Channel
title for the channel that the playlist item belongs to. Corresponds to the JSON property `channelTitle` @return [String]
The item's description. Corresponds to the JSON property `description` @return [String]
The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in. Corresponds to the JSON property `playlistId` @return [String]
The order in which the item appears in the playlist. The value uses a zero- based index, so the first item has a position of 0, the second item has a position of 1, and so forth. Corresponds to the JSON property `position` @return [Fixnum]
The date and time that the item was added to the playlist. Corresponds to the JSON property `publishedAt` @return [DateTime]
A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `resourceId` @return [Google::Apis::YoutubeV3::ResourceId]
Internal representation of thumbnails for a YouTube resource. Corresponds to the JSON property `thumbnails` @return [Google::Apis::YoutubeV3::ThumbnailDetails]
The item's title. Corresponds to the JSON property `title` @return [String]
Channel
id for the channel this video belongs to. Corresponds to the JSON property `videoOwnerChannelId` @return [String]
Channel
title for the channel this video belongs to. Corresponds to the JSON property `videoOwnerChannelTitle` @return [String]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 5855 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 5860 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @channel_title = args[:channel_title] if args.key?(:channel_title) @description = args[:description] if args.key?(:description) @playlist_id = args[:playlist_id] if args.key?(:playlist_id) @position = args[:position] if args.key?(:position) @published_at = args[:published_at] if args.key?(:published_at) @resource_id = args[:resource_id] if args.key?(:resource_id) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) @title = args[:title] if args.key?(:title) @video_owner_channel_id = args[:video_owner_channel_id] if args.key?(:video_owner_channel_id) @video_owner_channel_title = args[:video_owner_channel_title] if args.key?(:video_owner_channel_title) end