Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent
- 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 launch data.
Instance Attribute Summary collapse
-
#app_id ⇒ String
App id.
-
#app_launch_source ⇒ String
App launch source.
-
#app_type ⇒ String
Type of app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryAppLaunchEvent
constructor
A new instance of GoogleChromeManagementV1TelemetryAppLaunchEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryAppLaunchEvent
Returns a new instance of GoogleChromeManagementV1TelemetryAppLaunchEvent.
3323 3324 3325 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
App id. For PWAs this is the start URL, and for extensions this is the
extension id.
Corresponds to the JSON property appId
3311 3312 3313 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3311 def app_id @app_id end |
#app_launch_source ⇒ String
App launch source.
Corresponds to the JSON property appLaunchSource
3316 3317 3318 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3316 def app_launch_source @app_launch_source end |
#app_type ⇒ String
Type of app.
Corresponds to the JSON property appType
3321 3322 3323 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3321 def app_type @app_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3328 3329 3330 3331 3332 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3328 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @app_launch_source = args[:app_launch_source] if args.key?(:app_launch_source) @app_type = args[:app_type] if args.key?(:app_type) end |