Class: Google::Apis::AndroidpublisherV3::AbiTargeting

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 Abi.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AbiTargeting

Returns a new instance of AbiTargeting.



59
60
61
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 59

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

Instance Attribute Details

#alternativesArray<Google::Apis::AndroidpublisherV3::Abi>

Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. Corresponds to the JSON property alternatives



52
53
54
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 52

def alternatives
  @alternatives
end

#valueArray<Google::Apis::AndroidpublisherV3::Abi>

Value of an abi. Corresponds to the JSON property value



57
58
59
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 57

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64
65
66
67
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 64

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