Class: Google::Apis::BloggerV3::User::Locale
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::User::Locale
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/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.
1340 1341 1342 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country ⇒ String
The user's country setting.
Corresponds to the JSON property country
1328 1329 1330 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1328 def country @country end |
#language ⇒ String
The user's language setting.
Corresponds to the JSON property language
1333 1334 1335 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1333 def language @language end |
#variant ⇒ String
The user's language variant setting.
Corresponds to the JSON property variant
1338 1339 1340 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1338 def variant @variant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1345 1346 1347 1348 1349 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 1345 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 |