Class: Google::Apis::AndroidpublisherV3::DeviceSpec
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb
Overview
The device spec used to generate a system APK.
Instance Attribute Summary collapse
-
#screen_density ⇒ Fixnum
Screen dpi.
-
#supported_abis ⇒ Array<String>
Supported ABI architectures in the order of preference.
-
#supported_locales ⇒ Array<String>
All installed locales represented as BCP-47 strings, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceSpec
constructor
A new instance of DeviceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceSpec
Returns a new instance of DeviceSpec.
485 486 487 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 485 def initialize(**args) update!(**args) end |
Instance Attribute Details
#screen_density ⇒ Fixnum
Screen dpi.
Corresponds to the JSON property screenDensity
472 473 474 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 472 def screen_density @screen_density end |
#supported_abis ⇒ Array<String>
Supported ABI architectures in the order of preference. The values should be
the string as reported by the platform, e.g. "armeabi-v7a", "x86_64".
Corresponds to the JSON property supportedAbis
478 479 480 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 478 def supported_abis @supported_abis end |
#supported_locales ⇒ Array<String>
All installed locales represented as BCP-47 strings, e.g. "en-US".
Corresponds to the JSON property supportedLocales
483 484 485 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 483 def supported_locales @supported_locales end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
490 491 492 493 494 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 490 def update!(**args) @screen_density = args[:screen_density] if args.key?(:screen_density) @supported_abis = args[:supported_abis] if args.key?(:supported_abis) @supported_locales = args[:supported_locales] if args.key?(:supported_locales) end |