Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1HeartbeatStatusReport

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1HeartbeatStatusReport

Returns a new instance of GoogleChromeManagementV1HeartbeatStatusReport.



1929
1930
1931
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1929

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#report_timeString

Timestamp of when status changed was detected Corresponds to the JSON property reportTime

Returns:

  • (String)


1922
1923
1924
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1922

def report_time
  @report_time
end

#stateString

State the device changed to Corresponds to the JSON property state

Returns:

  • (String)


1927
1928
1929
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1927

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1934
1935
1936
1937
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1934

def update!(**args)
  @report_time = args[:report_time] if args.key?(:report_time)
  @state = args[:state] if args.key?(:state)
end