Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport
- 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
Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT
Instance Attribute Summary collapse
-
#device_activity_state ⇒ String
Output only.
-
#report_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1DeviceActivityReport
constructor
A new instance of GoogleChromeManagementV1DeviceActivityReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1DeviceActivityReport
Returns a new instance of GoogleChromeManagementV1DeviceActivityReport.
1482 1483 1484 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_activity_state ⇒ String
Output only. Device activity state.
Corresponds to the JSON property deviceActivityState
1475 1476 1477 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1475 def device_activity_state @device_activity_state end |
#report_time ⇒ String
Output only. Timestamp of when the report was collected.
Corresponds to the JSON property reportTime
1480 1481 1482 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1480 def report_time @report_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1487 1488 1489 1490 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1487 def update!(**args) @device_activity_state = args[:device_activity_state] if args.key?(:device_activity_state) @report_time = args[:report_time] if args.key?(:report_time) end |