Class: Google::Apis::YoutubeV3::GuideCategorySnippet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::GuideCategorySnippet
 
- 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 guide category.
Instance Attribute Summary collapse
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property channelId.
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Description of the guide category. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GuideCategorySnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GuideCategorySnippet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GuideCategorySnippet
Returns a new instance of GuideCategorySnippet
| 2915 2916 2917 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2915 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#channel_id ⇒ String
Corresponds to the JSON property channelId
| 2908 2909 2910 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2908 def channel_id @channel_id end | 
#title ⇒ String
Description of the guide category.
Corresponds to the JSON property title
| 2913 2914 2915 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2913 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2920 2921 2922 2923 | # File 'generated/google/apis/youtube_v3/classes.rb', line 2920 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @title = args[:title] if args.key?(:title) end |