class Google::Apis::YoutubeV3::PlaylistItemSnippet
Basic details about a playlist, including title, description and thumbnails.
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 the 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. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. 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]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 5513 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 5518 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) end