class Google::Apis::YoutubeV3::PlaylistSnippet

Basic details about a playlist, including title, description and thumbnails.

Attributes

channel_id[RW]

The ID that YouTube uses to uniquely identify the channel that published the playlist. Corresponds to the JSON property `channelId` @return [String]

channel_title[RW]

The channel title of the channel that the video belongs to. Corresponds to the JSON property `channelTitle` @return [String]

default_language[RW]

The language of the playlist's default title and description. Corresponds to the JSON property `defaultLanguage` @return [String]

description[RW]

The playlist's description. Corresponds to the JSON property `description` @return [String]

localized[RW]

Playlist localization setting Corresponds to the JSON property `localized` @return [Google::Apis::YoutubeV3::PlaylistLocalization]

published_at[RW]

The date and time that the playlist was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `publishedAt` @return [DateTime]

tags[RW]

Keyword tags associated with the playlist. Corresponds to the JSON property `tags` @return [Array<String>]

thumbnails[RW]

Internal representation of thumbnails for a YouTube resource. Corresponds to the JSON property `thumbnails` @return [Google::Apis::YoutubeV3::ThumbnailDetails]

title[RW]

The playlist's title. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 5716
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 5721
def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @channel_title = args[:channel_title] if args.key?(:channel_title)
  @default_language = args[:default_language] if args.key?(:default_language)
  @description = args[:description] if args.key?(:description)
  @localized = args[:localized] if args.key?(:localized)
  @published_at = args[:published_at] if args.key?(:published_at)
  @tags = args[:tags] if args.key?(:tags)
  @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
  @title = args[:title] if args.key?(:title)
end