Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuTemperatureInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

CPU temperature of a device. Sampled per CPU core in Celsius. * This field is telemetry information and this will change over time as the device is utilized.

  • Data for this field is controlled via policy: ReportDeviceCpuInfo * Data Collection Frequency: Every 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CpuTemperatureInfo

Returns a new instance of GoogleChromeManagementV1CpuTemperatureInfo.



1305
1306
1307
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1305

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#labelString

Output only. CPU label. Example: Core 0 Corresponds to the JSON property label

Returns:

  • (String)


1298
1299
1300
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1298

def label
  @label
end

#temperature_celsiusFixnum

Output only. CPU temperature in Celsius. Corresponds to the JSON property temperatureCelsius

Returns:

  • (Fixnum)


1303
1304
1305
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1303

def temperature_celsius
  @temperature_celsius
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1310
1311
1312
1313
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1310

def update!(**args)
  @label = args[:label] if args.key?(:label)
  @temperature_celsius = args[:temperature_celsius] if args.key?(:temperature_celsius)
end