Class: Google::Apis::YoutubeV3::PlaylistSnippet
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::PlaylistSnippet
 
 
- 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
Basic details about a playlist, including title, description and thumbnails.
Instance Attribute Summary collapse
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID that YouTube uses to uniquely identify the channel that published the playlist.
 - 
  
    
      #channel_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The channel title of the channel that the video belongs to.
 - 
  
    
      #default_language  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The language of the playlist's default title and description.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The playlist's description.
 - 
  
    
      #localized  ⇒ Google::Apis::YoutubeV3::PlaylistLocalization 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Playlist localization setting Corresponds to the JSON property
localized. - 
  
    
      #published_at  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The date and time that the playlist was created.
 - 
  
    
      #tags  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Keyword tags associated with the playlist.
 - 
  
    
      #thumbnails  ⇒ Google::Apis::YoutubeV3::ThumbnailDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Internal representation of thumbnails for a YouTube resource.
 - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The playlist's title.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PlaylistSnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PlaylistSnippet.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlaylistSnippet
Returns a new instance of PlaylistSnippet
      5793 5794 5795  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5793 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#channel_id ⇒ String
The ID that YouTube uses to uniquely identify the channel that published the
playlist.
Corresponds to the JSON property channelId
      5750 5751 5752  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5750 def channel_id @channel_id end  | 
  
#channel_title ⇒ String
The channel title of the channel that the video belongs to.
Corresponds to the JSON property channelTitle
      5755 5756 5757  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5755 def channel_title @channel_title end  | 
  
#default_language ⇒ String
The language of the playlist's default title and description.
Corresponds to the JSON property defaultLanguage
      5760 5761 5762  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5760 def default_language @default_language end  | 
  
#description ⇒ String
The playlist's description.
Corresponds to the JSON property description
      5765 5766 5767  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5765 def description @description end  | 
  
#localized ⇒ Google::Apis::YoutubeV3::PlaylistLocalization
Playlist localization setting
Corresponds to the JSON property localized
      5770 5771 5772  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5770 def localized @localized end  | 
  
#published_at ⇒ DateTime
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
      5776 5777 5778  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5776 def published_at @published_at end  | 
  
#tags ⇒ Array<String>
Keyword tags associated with the playlist.
Corresponds to the JSON property tags
      5781 5782 5783  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5781 def @tags end  | 
  
#thumbnails ⇒ Google::Apis::YoutubeV3::ThumbnailDetails
Internal representation of thumbnails for a YouTube resource.
Corresponds to the JSON property thumbnails
      5786 5787 5788  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5786 def thumbnails @thumbnails end  | 
  
#title ⇒ String
The playlist's title.
Corresponds to the JSON property title
      5791 5792 5793  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5791 def title @title end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808  | 
    
      # File 'generated/google/apis/youtube_v3/classes.rb', line 5798 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  |