Class: Google::Apis::AndroidpublisherV3::LanguageTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::LanguageTargeting
- 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
Targeting based on language.
Instance Attribute Summary collapse
-
#alternatives ⇒ Array<String>
Alternative languages.
-
#value ⇒ Array<String>
ISO-639: 2 or 3 letter language code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LanguageTargeting
constructor
A new instance of LanguageTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LanguageTargeting
Returns a new instance of LanguageTargeting.
3274 3275 3276 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternatives ⇒ Array<String>
Alternative languages.
Corresponds to the JSON property alternatives
3267 3268 3269 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3267 def alternatives @alternatives end |
#value ⇒ Array<String>
ISO-639: 2 or 3 letter language code.
Corresponds to the JSON property value
3272 3273 3274 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3272 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3279 3280 3281 3282 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3279 def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end |