Class: Google::Apis::YoutubeV3::VideoCategorySnippet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::VideoCategorySnippet
 
- 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 video category, such as its localized title.
Instance Attribute Summary collapse
- 
  
    
      #assignable  ⇒ Boolean 
    
    
      (also: #assignable?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property assignable.
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The YouTube channel that created the video category. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The video category's title. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VideoCategorySnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VideoCategorySnippet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoCategorySnippet
Returns a new instance of VideoCategorySnippet
| 7340 7341 7342 | # File 'generated/google/apis/youtube_v3/classes.rb', line 7340 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#assignable ⇒ Boolean Also known as: assignable?
Corresponds to the JSON property assignable
| 7327 7328 7329 | # File 'generated/google/apis/youtube_v3/classes.rb', line 7327 def assignable @assignable end | 
#channel_id ⇒ String
The YouTube channel that created the video category.
Corresponds to the JSON property channelId
| 7333 7334 7335 | # File 'generated/google/apis/youtube_v3/classes.rb', line 7333 def channel_id @channel_id end | 
#title ⇒ String
The video category's title.
Corresponds to the JSON property title
| 7338 7339 7340 | # File 'generated/google/apis/youtube_v3/classes.rb', line 7338 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 7345 7346 7347 7348 7349 | # File 'generated/google/apis/youtube_v3/classes.rb', line 7345 def update!(**args) @assignable = args[:assignable] if args.key?(:assignable) @channel_id = args[:channel_id] if args.key?(:channel_id) @title = args[:title] if args.key?(:title) end |