Class: Google::Apis::YoutubeV3::I18nLanguageSnippet
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::I18nLanguageSnippet
 
 
- 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 
Overview
Basic details about an i18n language, such as language code and human-readable name.
Instance Attribute Summary collapse
- 
  
    
      #hl  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A short BCP-47 code that uniquely identifies a language.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The human-readable name of the language in the language itself.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ I18nLanguageSnippet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of I18nLanguageSnippet.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ I18nLanguageSnippet
Returns a new instance of I18nLanguageSnippet.
      3144 3145 3146  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3144 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#hl ⇒ String
A short BCP-47 code that uniquely identifies a language.
Corresponds to the JSON property hl
      3137 3138 3139  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3137 def hl @hl end  | 
  
#name ⇒ String
The human-readable name of the language in the language itself.
Corresponds to the JSON property name
      3142 3143 3144  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3142 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3149 3150 3151 3152  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 3149 def update!(**args) @hl = args[:hl] if args.key?(:hl) @name = args[:name] if args.key?(:name) end  |