Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppReport
- 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
App report.
Instance Attribute Summary collapse
-
#report_time ⇒ String
Timestamp when the report was collected.
-
#usage_data ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppUsageData>
App usage data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1AppReport
constructor
A new instance of GoogleChromeManagementV1AppReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1AppReport
Returns a new instance of GoogleChromeManagementV1AppReport.
218 219 220 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#report_time ⇒ String
Timestamp when the report was collected.
Corresponds to the JSON property reportTime
211 212 213 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 211 def report_time @report_time end |
#usage_data ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppUsageData>
App usage data.
Corresponds to the JSON property usageData
216 217 218 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 216 def usage_data @usage_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 223 def update!(**args) @report_time = args[:report_time] if args.key?(:report_time) @usage_data = args[:usage_data] if args.key?(:usage_data) end |