Class: Google::Apis::BloggerV2::User::Locale
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BloggerV2::User::Locale
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/blogger_v2/classes.rb,
generated/google/apis/blogger_v2/representations.rb,
generated/google/apis/blogger_v2/representations.rb 
Overview
This user's locale
Instance Attribute Summary collapse
- 
  
    
      #country  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user's country setting.
 - 
  
    
      #language  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user's language setting.
 - 
  
    
      #variant  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user's language variant setting.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Locale 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Locale.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Locale
Returns a new instance of Locale
      933 934 935  | 
    
      # File 'generated/google/apis/blogger_v2/classes.rb', line 933 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#country ⇒ String
The user's country setting.
Corresponds to the JSON property country
      921 922 923  | 
    
      # File 'generated/google/apis/blogger_v2/classes.rb', line 921 def country @country end  | 
  
#language ⇒ String
The user's language setting.
Corresponds to the JSON property language
      926 927 928  | 
    
      # File 'generated/google/apis/blogger_v2/classes.rb', line 926 def language @language end  | 
  
#variant ⇒ String
The user's language variant setting.
Corresponds to the JSON property variant
      931 932 933  | 
    
      # File 'generated/google/apis/blogger_v2/classes.rb', line 931 def variant @variant end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      938 939 940 941 942  | 
    
      # File 'generated/google/apis/blogger_v2/classes.rb', line 938 def update!(**args) @country = args[:country] if args.key?(:country) @language = args[:language] if args.key?(:language) @variant = args[:variant] if args.key?(:variant) end  |