class Google::Apis::AndroidmanagementV1::HardwareStatus

Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.

Attributes

battery_temperatures[RW]

Current battery temperatures in Celsius for each battery on the device. Corresponds to the JSON property `batteryTemperatures` @return [Array<Float>]

cpu_temperatures[RW]

Current CPU temperatures in Celsius for each CPU on the device. Corresponds to the JSON property `cpuTemperatures` @return [Array<Float>]

cpu_usages[RW]

CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system. Corresponds to the JSON property `cpuUsages` @return [Array<Float>]

create_time[RW]

The time the measurements were taken. Corresponds to the JSON property `createTime` @return [String]

fan_speeds[RW]

Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. Corresponds to the JSON property `fanSpeeds` @return [Array<Float>]

gpu_temperatures[RW]

Current GPU temperatures in Celsius for each GPU on the device. Corresponds to the JSON property `gpuTemperatures` @return [Array<Float>]

skin_temperatures[RW]

Current device skin temperatures in Celsius. Corresponds to the JSON property `skinTemperatures` @return [Array<Float>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 1671
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 1676
def update!(**args)
  @battery_temperatures = args[:battery_temperatures] if args.key?(:battery_temperatures)
  @cpu_temperatures = args[:cpu_temperatures] if args.key?(:cpu_temperatures)
  @cpu_usages = args[:cpu_usages] if args.key?(:cpu_usages)
  @create_time = args[:create_time] if args.key?(:create_time)
  @fan_speeds = args[:fan_speeds] if args.key?(:fan_speeds)
  @gpu_temperatures = args[:gpu_temperatures] if args.key?(:gpu_temperatures)
  @skin_temperatures = args[:skin_temperatures] if args.key?(:skin_temperatures)
end