class Google::Apis::AndroidpublisherV3::DeviceMetadata
Characteristics of the user's device.
Attributes
Device CPU make, e.g. “Qualcomm” Corresponds to the JSON property `cpuMake` @return [String]
Device CPU model, e.g. “MSM8974” Corresponds to the JSON property `cpuModel` @return [String]
Device class (e.g. tablet) Corresponds to the JSON property `deviceClass` @return [String]
OpenGL version Corresponds to the JSON property `glEsVersion` @return [Fixnum]
Device manufacturer (e.g. Motorola) Corresponds to the JSON property `manufacturer` @return [String]
Comma separated list of native platforms (e.g. “arm”, “arm7”) Corresponds to the JSON property `nativePlatform` @return [String]
Device model name (e.g. Droid) Corresponds to the JSON property `productName` @return [String]
Device RAM in Megabytes, e.g. “2048” Corresponds to the JSON property `ramMb` @return [Fixnum]
Screen density in DPI Corresponds to the JSON property `screenDensityDpi` @return [Fixnum]
Screen height in pixels Corresponds to the JSON property `screenHeightPx` @return [Fixnum]
Screen width in pixels Corresponds to the JSON property `screenWidthPx` @return [Fixnum]
Public Class Methods
# File lib/google/apis/androidpublisher_v3/classes.rb, line 445 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidpublisher_v3/classes.rb, line 450 def update!(**args) @cpu_make = args[:cpu_make] if args.key?(:cpu_make) @cpu_model = args[:cpu_model] if args.key?(:cpu_model) @device_class = args[:device_class] if args.key?(:device_class) @gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version) @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @native_platform = args[:native_platform] if args.key?(:native_platform) @product_name = args[:product_name] if args.key?(:product_name) @ram_mb = args[:ram_mb] if args.key?(:ram_mb) @screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi) @screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px) @screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px) end