Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1HeartbeatStatusReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1HeartbeatStatusReport
- 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
Heartbeat status report of a device. * Available for Kiosks * This field provides online/offline/unknown status of a device and will only be included if the status has changed (e.g. Online -> Offline) * Data for this field is controlled via policy: HeartbeatEnabled More Info * Heartbeat Frequency: 2 mins * Note: If a device goes offline, it can take up to 12 minutes for the online status of the device to be updated * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: N/A * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
Instance Attribute Summary collapse
-
#report_time ⇒ String
Timestamp of when status changed was detected Corresponds to the JSON property
reportTime. -
#state ⇒ String
State the device changed to Corresponds to the JSON property
state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1HeartbeatStatusReport
constructor
A new instance of GoogleChromeManagementV1HeartbeatStatusReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1HeartbeatStatusReport
Returns a new instance of GoogleChromeManagementV1HeartbeatStatusReport.
2078 2079 2080 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#report_time ⇒ String
Timestamp of when status changed was detected
Corresponds to the JSON property reportTime
2071 2072 2073 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2071 def report_time @report_time end |
#state ⇒ String
State the device changed to
Corresponds to the JSON property state
2076 2077 2078 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2076 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2083 2084 2085 2086 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2083 def update!(**args) @report_time = args[:report_time] if args.key?(:report_time) @state = args[:state] if args.key?(:state) end |