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.
2891 2892 2893 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2891 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
2867 2868 2869 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2867 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
2873 2874 2875 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2873 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
2879 2880 2881 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2879 def enter_sleep_count @enter_sleep_count end |
#report_time ⇒ String
Timestamp when the report was collected.
Corresponds to the JSON property reportTime
2884 2885 2886 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2884 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
2889 2890 2891 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2889 def uptime_runtime_duration @uptime_runtime_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2896 2897 2898 2899 2900 2901 2902 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2896 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 |