Class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Defined Under Namespace
Classes: CpuTemperatureInfo
Instance Attribute Summary collapse
-
#cpu_temperature_info ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo>
A list of CPU temperature samples.
-
#cpu_utilization_percentage_info ⇒ Array<Fixnum>
Corresponds to the JSON property
cpuUtilizationPercentageInfo
. -
#report_time ⇒ DateTime
Date and time the report was received.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CpuStatusReport
constructor
A new instance of CpuStatusReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CpuStatusReport
Returns a new instance of CpuStatusReport.
1502 1503 1504 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cpu_temperature_info ⇒ Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo>
A list of CPU temperature samples.
Corresponds to the JSON property cpuTemperatureInfo
1490 1491 1492 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1490 def cpu_temperature_info @cpu_temperature_info end |
#cpu_utilization_percentage_info ⇒ Array<Fixnum>
Corresponds to the JSON property cpuUtilizationPercentageInfo
1495 1496 1497 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1495 def cpu_utilization_percentage_info @cpu_utilization_percentage_info end |
#report_time ⇒ DateTime
Date and time the report was received.
Corresponds to the JSON property reportTime
1500 1501 1502 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1500 def report_time @report_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1507 1508 1509 1510 1511 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1507 def update!(**args) @cpu_temperature_info = args[:cpu_temperature_info] if args.key?(:cpu_temperature_info) @cpu_utilization_percentage_info = args[:cpu_utilization_percentage_info] if args.key?(:cpu_utilization_percentage_info) @report_time = args[:report_time] if args.key?(:report_time) end |