Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RuntimeCountersReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RuntimeCountersReport
- 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
Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.
Instance Attribute Summary collapse
-
#enter_hibernation_count ⇒ Fixnum
Number of times that the device has entered into the hibernation state.
-
#enter_poweroff_count ⇒ Fixnum
Number of times that the device has entered into the power-off state.
-
#enter_sleep_count ⇒ Fixnum
Number of times that the device has entered into the sleep state.
-
#report_time ⇒ String
Timestamp when the report was collected.
-
#uptime_runtime_duration ⇒ String
Total lifetime runtime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1RuntimeCountersReport
constructor
A new instance of GoogleChromeManagementV1RuntimeCountersReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1RuntimeCountersReport
Returns a new instance of GoogleChromeManagementV1RuntimeCountersReport.
3067 3068 3069 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3067 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enter_hibernation_count ⇒ Fixnum
Number of times that the device has entered into the hibernation state.
Currently obtained via the PSR, count from S0->S4.
Corresponds to the JSON property enterHibernationCount
3043 3044 3045 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3043 def enter_hibernation_count @enter_hibernation_count end |
#enter_poweroff_count ⇒ Fixnum
Number of times that the device has entered into the power-off state.
Currently obtained via the PSR, count from S0->S5.
Corresponds to the JSON property enterPoweroffCount
3049 3050 3051 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3049 def enter_poweroff_count @enter_poweroff_count end |
#enter_sleep_count ⇒ Fixnum
Number of times that the device has entered into the sleep state. Currently
obtained via the PSR, count from S0->S3.
Corresponds to the JSON property enterSleepCount
3055 3056 3057 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3055 def enter_sleep_count @enter_sleep_count end |
#report_time ⇒ String
Timestamp when the report was collected.
Corresponds to the JSON property reportTime
3060 3061 3062 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3060 def report_time @report_time end |
#uptime_runtime_duration ⇒ String
Total lifetime runtime. Currently always S0 runtime from Intel vPro PSR.
Corresponds to the JSON property uptimeRuntimeDuration
3065 3066 3067 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3065 def uptime_runtime_duration @uptime_runtime_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3072 def update!(**args) @enter_hibernation_count = args[:enter_hibernation_count] if args.key?(:enter_hibernation_count) @enter_poweroff_count = args[:enter_poweroff_count] if args.key?(:enter_poweroff_count) @enter_sleep_count = args[:enter_sleep_count] if args.key?(:enter_sleep_count) @report_time = args[:report_time] if args.key?(:report_time) @uptime_runtime_duration = args[:uptime_runtime_duration] if args.key?(:uptime_runtime_duration) end |