Class: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #favorites  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the playlist that contains the channel"s favorite videos.
 - 
  
    
      #likes  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the playlist that contains the channel"s liked videos.
 - 
  
    
      #uploads  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the playlist that contains the channel"s uploaded videos.
 - 
  
    
      #watch_history  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the playlist that contains the channel"s watch history.
 - 
  
    
      #watch_later  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the playlist that contains the channel"s watch later playlist.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RelatedPlaylists 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RelatedPlaylists.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RelatedPlaylists
Returns a new instance of RelatedPlaylists.
      1193 1194 1195  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1193 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#favorites ⇒ String
The ID of the playlist that contains the channel"s favorite videos. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that
list.
Corresponds to the JSON property favorites
      1163 1164 1165  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1163 def favorites @favorites end  | 
  
#likes ⇒ String
The ID of the playlist that contains the channel"s liked videos. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that
list.
Corresponds to the JSON property likes
      1170 1171 1172  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1170 def likes @likes end  | 
  
#uploads ⇒ String
The ID of the playlist that contains the channel"s uploaded videos. Use the
videos.insert method to upload new videos and the videos.delete method to
delete previously uploaded videos.
Corresponds to the JSON property uploads
      1177 1178 1179  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1177 def uploads @uploads end  | 
  
#watch_history ⇒ String
The ID of the playlist that contains the channel"s watch history. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that
list.
Corresponds to the JSON property watchHistory
      1184 1185 1186  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1184 def watch_history @watch_history end  | 
  
#watch_later ⇒ String
The ID of the playlist that contains the channel"s watch later playlist. Use
the playlistItems.insert and playlistItems.delete to add or remove items from
that list.
Corresponds to the JSON property watchLater
      1191 1192 1193  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1191 def watch_later @watch_later end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1198 1199 1200 1201 1202 1203 1204  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 1198 def update!(**args) @favorites = args[:favorites] if args.key?(:favorites) @likes = args[:likes] if args.key?(:likes) @uploads = args[:uploads] if args.key?(:uploads) @watch_history = args[:watch_history] if args.key?(:watch_history) @watch_later = args[:watch_later] if args.key?(:watch_later) end  |