Class: Google::Apis::YoutubeV3::ChannelSectionContentDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::ChannelSectionContentDetails
 
- 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
Details about a channelsection, including playlists and channels.
Instance Attribute Summary collapse
- 
  
    
      #channels  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The channel ids for type multiple_channels. 
- 
  
    
      #playlists  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The playlist ids for type single_playlist and multiple_playlists. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChannelSectionContentDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ChannelSectionContentDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelSectionContentDetails
Returns a new instance of ChannelSectionContentDetails
| 1455 1456 1457 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1455 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#channels ⇒ Array<String>
The channel ids for type multiple_channels.
Corresponds to the JSON property channels
| 1447 1448 1449 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1447 def channels @channels end | 
#playlists ⇒ Array<String>
The playlist ids for type single_playlist and multiple_playlists. For
singlePlaylist, only one playlistId is allowed.
Corresponds to the JSON property playlists
| 1453 1454 1455 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1453 def playlists @playlists end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1460 1461 1462 1463 | # File 'generated/google/apis/youtube_v3/classes.rb', line 1460 def update!(**args) @channels = args[:channels] if args.key?(:channels) @playlists = args[:playlists] if args.key?(:playlists) end |