Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppReport

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

App report.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_timeString

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

Returns:

  • (String)


211
212
213
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 211

def report_time
  @report_time
end

#usage_dataArray<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