Class: Google::Apis::AndroidpublisherV3::UserCountrySet
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::UserCountrySet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
A set of user countries. A country set determines what variation of app content gets served to a specific location.
Instance Attribute Summary collapse
-
#country_codes ⇒ Array<String>
List of country codes representing countries.
-
#name ⇒ String
Country set name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserCountrySet
constructor
A new instance of UserCountrySet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserCountrySet
Returns a new instance of UserCountrySet.
7255 7256 7257 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_codes ⇒ Array<String>
List of country codes representing countries. A Country code is represented in
ISO 3166 alpha-2 format. For Example:- "IT" for Italy, "GE" for Georgia.
Corresponds to the JSON property countryCodes
7248 7249 7250 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7248 def country_codes @country_codes end |
#name ⇒ String
Country set name.
Corresponds to the JSON property name
7253 7254 7255 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7253 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7260 7261 7262 7263 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7260 def update!(**args) @country_codes = args[:country_codes] if args.key?(:country_codes) @name = args[:name] if args.key?(:name) end |