Class: Google::Apis::AndroidpublisherV3::UserCountriesTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::UserCountriesTargeting
- 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
Describes an inclusive/exclusive list of country codes that module targets.
Instance Attribute Summary collapse
-
#country_codes ⇒ Array<String>
List of country codes in the two-letter CLDR territory format.
-
#exclude ⇒ Boolean
(also: #exclude?)
Indicates if the list above is exclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserCountriesTargeting
constructor
A new instance of UserCountriesTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserCountriesTargeting
Returns a new instance of UserCountriesTargeting.
7237 7238 7239 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_codes ⇒ Array<String>
List of country codes in the two-letter CLDR territory format.
Corresponds to the JSON property countryCodes
7229 7230 7231 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7229 def country_codes @country_codes end |
#exclude ⇒ Boolean Also known as: exclude?
Indicates if the list above is exclusive.
Corresponds to the JSON property exclude
7234 7235 7236 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7234 def exclude @exclude end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7242 7243 7244 7245 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7242 def update!(**args) @country_codes = args[:country_codes] if args.key?(:country_codes) @exclude = args[:exclude] if args.key?(:exclude) end |