class Google::Apis::AndroidpublisherV3::DeviceMetadata

Characteristics of the user's device.

Attributes

cpu_make[RW]

Device CPU make, e.g. “Qualcomm” Corresponds to the JSON property `cpuMake` @return [String]

cpu_model[RW]

Device CPU model, e.g. “MSM8974” Corresponds to the JSON property `cpuModel` @return [String]

device_class[RW]

Device class (e.g. tablet) Corresponds to the JSON property `deviceClass` @return [String]

gl_es_version[RW]

OpenGL version Corresponds to the JSON property `glEsVersion` @return [Fixnum]

manufacturer[RW]

Device manufacturer (e.g. Motorola) Corresponds to the JSON property `manufacturer` @return [String]

native_platform[RW]

Comma separated list of native platforms (e.g. “arm”, “arm7”) Corresponds to the JSON property `nativePlatform` @return [String]

product_name[RW]

Device model name (e.g. Droid) Corresponds to the JSON property `productName` @return [String]

ram_mb[RW]

Device RAM in Megabytes, e.g. “2048” Corresponds to the JSON property `ramMb` @return [Fixnum]

screen_density_dpi[RW]

Screen density in DPI Corresponds to the JSON property `screenDensityDpi` @return [Fixnum]

screen_height_px[RW]

Screen height in pixels Corresponds to the JSON property `screenHeightPx` @return [Fixnum]

screen_width_px[RW]

Screen width in pixels Corresponds to the JSON property `screenWidthPx` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 445
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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