Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuTemperatureInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuTemperatureInfo
- 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
Instance Attribute Summary collapse
-
#label ⇒ String
Output only.
-
#temperature_celsius ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1CpuTemperatureInfo
constructor
A new instance of GoogleChromeManagementV1CpuTemperatureInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1CpuTemperatureInfo
Returns a new instance of GoogleChromeManagementV1CpuTemperatureInfo.
840 841 842 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
Output only. CPU label. Example: Core 0
Corresponds to the JSON property label
833 834 835 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 833 def label @label end |
#temperature_celsius ⇒ Fixnum
Output only. CPU temperature in Celsius.
Corresponds to the JSON property temperatureCelsius
838 839 840 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 838 def temperature_celsius @temperature_celsius end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
845 846 847 848 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 845 def update!(**args) @label = args[:label] if args.key?(:label) @temperature_celsius = args[:temperature_celsius] if args.key?(:temperature_celsius) end |