Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppUsageData
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AppUsageData
- 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 usage data.
Instance Attribute Summary collapse
-
#app_id ⇒ String
App id.
-
#app_instance_id ⇒ String
Application instance id.
-
#app_type ⇒ String
Type of app.
-
#running_duration ⇒ String
App foreground running time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1AppUsageData
constructor
A new instance of GoogleChromeManagementV1AppUsageData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1AppUsageData
Returns a new instance of GoogleChromeManagementV1AppUsageData.
260 261 262 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
App id.
Corresponds to the JSON property appId
243 244 245 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 243 def app_id @app_id end |
#app_instance_id ⇒ String
Application instance id. This will be unique per window/instance.
Corresponds to the JSON property appInstanceId
248 249 250 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 248 def app_instance_id @app_instance_id end |
#app_type ⇒ String
Type of app.
Corresponds to the JSON property appType
253 254 255 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 253 def app_type @app_type end |
#running_duration ⇒ String
App foreground running time.
Corresponds to the JSON property runningDuration
258 259 260 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 258 def running_duration @running_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 269 270 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 265 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @app_instance_id = args[:app_instance_id] if args.key?(:app_instance_id) @app_type = args[:app_type] if args.key?(:app_type) @running_duration = args[:running_duration] if args.key?(:running_duration) end |