Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BootPerformanceReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BootPerformanceReport
- 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
Boot performance report of a device. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: ReportDeviceBootMode * Data Collection Frequency: On every boot up event * 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: Yes * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_OS_REPORT
Instance Attribute Summary collapse
-
#boot_up_duration ⇒ String
Total time to boot up.
-
#boot_up_time ⇒ String
The timestamp when power came on.
-
#report_time ⇒ String
Timestamp when the report was collected.
-
#shutdown_duration ⇒ String
Total time since shutdown start to power off.
-
#shutdown_reason ⇒ String
The shutdown reason.
-
#shutdown_time ⇒ String
The timestamp when shutdown.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1BootPerformanceReport
constructor
A new instance of GoogleChromeManagementV1BootPerformanceReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1BootPerformanceReport
Returns a new instance of GoogleChromeManagementV1BootPerformanceReport.
560 561 562 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boot_up_duration ⇒ String
Total time to boot up.
Corresponds to the JSON property bootUpDuration
533 534 535 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 533 def boot_up_duration @boot_up_duration end |
#boot_up_time ⇒ String
The timestamp when power came on.
Corresponds to the JSON property bootUpTime
538 539 540 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 538 def boot_up_time @boot_up_time end |
#report_time ⇒ String
Timestamp when the report was collected.
Corresponds to the JSON property reportTime
543 544 545 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 543 def report_time @report_time end |
#shutdown_duration ⇒ String
Total time since shutdown start to power off.
Corresponds to the JSON property shutdownDuration
548 549 550 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 548 def shutdown_duration @shutdown_duration end |
#shutdown_reason ⇒ String
The shutdown reason.
Corresponds to the JSON property shutdownReason
553 554 555 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 553 def shutdown_reason @shutdown_reason end |
#shutdown_time ⇒ String
The timestamp when shutdown.
Corresponds to the JSON property shutdownTime
558 559 560 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 558 def shutdown_time @shutdown_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
565 566 567 568 569 570 571 572 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 565 def update!(**args) @boot_up_duration = args[:boot_up_duration] if args.key?(:boot_up_duration) @boot_up_time = args[:boot_up_time] if args.key?(:boot_up_time) @report_time = args[:report_time] if args.key?(:report_time) @shutdown_duration = args[:shutdown_duration] if args.key?(:shutdown_duration) @shutdown_reason = args[:shutdown_reason] if args.key?(:shutdown_reason) @shutdown_time = args[:shutdown_time] if args.key?(:shutdown_time) end |