Class: Google::Apis::AndroidpublisherV3::CountryTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CountryTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb
Instance Attribute Summary collapse
-
#countries ⇒ Array<String>
Corresponds to the JSON property
countries
. -
#include_rest_of_world ⇒ Boolean
(also: #include_rest_of_world?)
Corresponds to the JSON property
includeRestOfWorld
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CountryTargeting
constructor
A new instance of CountryTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CountryTargeting
Returns a new instance of CountryTargeting.
336 337 338 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#countries ⇒ Array<String>
Corresponds to the JSON property countries
328 329 330 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 328 def countries @countries end |
#include_rest_of_world ⇒ Boolean Also known as: include_rest_of_world?
Corresponds to the JSON property includeRestOfWorld
333 334 335 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 333 def include_rest_of_world @include_rest_of_world end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
341 342 343 344 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 341 def update!(**args) @countries = args[:countries] if args.key?(:countries) @include_rest_of_world = args[:include_rest_of_world] if args.key?(:include_rest_of_world) end |