class Google::Apis::AndroidmanagementV1::HardwareInfo

Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.

Attributes

battery_shutdown_temperatures[RW]

Battery shutdown temperature thresholds in Celsius for each battery on the device. Corresponds to the JSON property `batteryShutdownTemperatures` @return [Array<Float>]

battery_throttling_temperatures[RW]

Battery throttling temperature thresholds in Celsius for each battery on the device. Corresponds to the JSON property `batteryThrottlingTemperatures` @return [Array<Float>]

brand[RW]

Brand of the device. For example, Google. Corresponds to the JSON property `brand` @return [String]

cpu_shutdown_temperatures[RW]

CPU shutdown temperature thresholds in Celsius for each CPU on the device. Corresponds to the JSON property `cpuShutdownTemperatures` @return [Array<Float>]

cpu_throttling_temperatures[RW]

CPU throttling temperature thresholds in Celsius for each CPU on the device. Corresponds to the JSON property `cpuThrottlingTemperatures` @return [Array<Float>]

device_baseband_version[RW]

Baseband version. For example, MDM9625_104662.22.05.34p. Corresponds to the JSON property `deviceBasebandVersion` @return [String]

gpu_shutdown_temperatures[RW]

GPU shutdown temperature thresholds in Celsius for each GPU on the device. Corresponds to the JSON property `gpuShutdownTemperatures` @return [Array<Float>]

gpu_throttling_temperatures[RW]

GPU throttling temperature thresholds in Celsius for each GPU on the device. Corresponds to the JSON property `gpuThrottlingTemperatures` @return [Array<Float>]

hardware[RW]

Name of the hardware. For example, Angler. Corresponds to the JSON property `hardware` @return [String]

manufacturer[RW]

Manufacturer. For example, Motorola. Corresponds to the JSON property `manufacturer` @return [String]

model[RW]

The model of the device. For example, Asus Nexus 7. Corresponds to the JSON property `model` @return [String]

serial_number[RW]

The device serial number. Corresponds to the JSON property `serialNumber` @return [String]

skin_shutdown_temperatures[RW]

Device skin shutdown temperature thresholds in Celsius. Corresponds to the JSON property `skinShutdownTemperatures` @return [Array<Float>]

skin_throttling_temperatures[RW]

Device skin throttling temperature thresholds in Celsius. Corresponds to the JSON property `skinThrottlingTemperatures` @return [Array<Float>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 1610
def update!(**args)
  @battery_shutdown_temperatures = args[:battery_shutdown_temperatures] if args.key?(:battery_shutdown_temperatures)
  @battery_throttling_temperatures = args[:battery_throttling_temperatures] if args.key?(:battery_throttling_temperatures)
  @brand = args[:brand] if args.key?(:brand)
  @cpu_shutdown_temperatures = args[:cpu_shutdown_temperatures] if args.key?(:cpu_shutdown_temperatures)
  @cpu_throttling_temperatures = args[:cpu_throttling_temperatures] if args.key?(:cpu_throttling_temperatures)
  @device_baseband_version = args[:device_baseband_version] if args.key?(:device_baseband_version)
  @gpu_shutdown_temperatures = args[:gpu_shutdown_temperatures] if args.key?(:gpu_shutdown_temperatures)
  @gpu_throttling_temperatures = args[:gpu_throttling_temperatures] if args.key?(:gpu_throttling_temperatures)
  @hardware = args[:hardware] if args.key?(:hardware)
  @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
  @model = args[:model] if args.key?(:model)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @skin_shutdown_temperatures = args[:skin_shutdown_temperatures] if args.key?(:skin_shutdown_temperatures)
  @skin_throttling_temperatures = args[:skin_throttling_temperatures] if args.key?(:skin_throttling_temperatures)
end