Class: Google::Apis::AndroidpublisherV3::TrackTargetedCountry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrackTargetedCountry

Returns a new instance of TrackTargetedCountry.



4091
4092
4093
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4091

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#country_codeString

The country to target, as a two-letter CLDR code. Corresponds to the JSON property countryCode

Returns:

  • (String)


4089
4090
4091
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4089

def country_code
  @country_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4096
4097
4098
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4096

def update!(**args)
  @country_code = args[:country_code] if args.key?(:country_code)
end