class Google::Apis::AndroidpublisherV3::CountryTargeting

Country targeting specification.

Attributes

countries[RW]

Countries to target, specified as two letter [CLDR codes](unicode.org/ cldr/charts/latest/supplemental/territory_containment_un_m_49.html). Corresponds to the JSON property `countries` @return [Array<String>]

include_rest_of_world[RW]

Include “rest of world” as well as explicitly targeted countries. Corresponds to the JSON property `includeRestOfWorld` @return [Boolean]

include_rest_of_world?[RW]

Include “rest of world” as well as explicitly targeted countries. Corresponds to the JSON property `includeRestOfWorld` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 309
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidpublisher_v3/classes.rb, line 314
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