Class: Google::Apis::AndroidpublisherV3::LanguageTargeting

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

Targeting based on language.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LanguageTargeting

Returns a new instance of LanguageTargeting.



3395
3396
3397
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3395

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

Instance Attribute Details

#alternativesArray<String>

Alternative languages. Corresponds to the JSON property alternatives

Returns:

  • (Array<String>)


3388
3389
3390
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3388

def alternatives
  @alternatives
end

#valueArray<String>

ISO-639: 2 or 3 letter language code. Corresponds to the JSON property value

Returns:

  • (Array<String>)


3393
3394
3395
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3393

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3400
3401
3402
3403
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3400

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