Class: Google::Apis::AndroidpublisherV3::TrackTargetedCountry
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::TrackTargetedCountry
- 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
Representation of a single country where the contents of a track are available.
Instance Attribute Summary collapse
-
#country_code ⇒ String
The country to target, as a two-letter CLDR code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrackTargetedCountry
constructor
A new instance of TrackTargetedCountry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrackTargetedCountry
Returns a new instance of TrackTargetedCountry.
6847 6848 6849 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_code ⇒ String
The country to target, as a two-letter CLDR code.
Corresponds to the JSON property countryCode
6845 6846 6847 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6845 def country_code @country_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6852 6853 6854 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6852 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) end |