Class: Google::Apis::AndroidpublisherV3::ScreenDensityTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ScreenDensityTargeting
- 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 screen density.
Instance Attribute Summary collapse
-
#alternatives ⇒ Array<Google::Apis::AndroidpublisherV3::ScreenDensity>
Targeting of other sibling directories that were in the Bundle.
-
#value ⇒ Array<Google::Apis::AndroidpublisherV3::ScreenDensity>
Value of a screen density.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScreenDensityTargeting
constructor
A new instance of ScreenDensityTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScreenDensityTargeting
Returns a new instance of ScreenDensityTargeting.
4991 4992 4993 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternatives ⇒ Array<Google::Apis::AndroidpublisherV3::ScreenDensity>
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
4984 4985 4986 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4984 def alternatives @alternatives end |
#value ⇒ Array<Google::Apis::AndroidpublisherV3::ScreenDensity>
Value of a screen density.
Corresponds to the JSON property value
4989 4990 4991 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4989 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4996 4997 4998 4999 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4996 def update!(**args) @alternatives = args[:alternatives] if args.key?(:alternatives) @value = args[:value] if args.key?(:value) end |