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
Instance Attribute Summary collapse
-
#screen_density ⇒ Fixnum
Corresponds to the JSON property
screenDensity
. -
#supported_abis ⇒ Array<String>
Corresponds to the JSON property
supportedAbis
. -
#supported_locales ⇒ Array<String>
Corresponds to the JSON property
supportedLocales
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceSpec
constructor
A new instance of DeviceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceSpec
Returns a new instance of DeviceSpec.
508 509 510 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#screen_density ⇒ Fixnum
Corresponds to the JSON property screenDensity
496 497 498 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 496 def screen_density @screen_density end |
#supported_abis ⇒ Array<String>
Corresponds to the JSON property supportedAbis
501 502 503 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 501 def supported_abis @supported_abis end |
#supported_locales ⇒ Array<String>
Corresponds to the JSON property supportedLocales
506 507 508 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 506 def supported_locales @supported_locales end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
513 514 515 516 517 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 513 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 |