Class: Google::Apis::AndroidpublisherV3::SdkVersionTargeting

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 sdk version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SdkVersionTargeting

Returns a new instance of SdkVersionTargeting.



5233
5234
5235
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5233

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

Instance Attribute Details

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

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



5226
5227
5228
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5226

def alternatives
  @alternatives
end

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

Value of an sdk version. Corresponds to the JSON property value



5231
5232
5233
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5231

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5238
5239
5240
5241
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5238

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