Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceActivityReport

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

Device activity report. * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DeviceActivityReport

Returns a new instance of GoogleChromeManagementV1DeviceActivityReport.



1357
1358
1359
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1357

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

Instance Attribute Details

#device_activity_stateString

Output only. Device activity state. Corresponds to the JSON property deviceActivityState

Returns:

  • (String)


1350
1351
1352
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1350

def device_activity_state
  @device_activity_state
end

#report_timeString

Output only. Timestamp of when the report was collected. Corresponds to the JSON property reportTime

Returns:

  • (String)


1355
1356
1357
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1355

def report_time
  @report_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1362
1363
1364
1365
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1362

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