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.
3246 3247 3248 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3246 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
3234 3235 3236 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3234 def app_id @app_id end |
#app_launch_source ⇒ String
App launch source.
Corresponds to the JSON property appLaunchSource
3239 3240 3241 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3239 def app_launch_source @app_launch_source end |
#app_type ⇒ String
Type of app.
Corresponds to the JSON property appType
3244 3245 3246 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3244 def app_type @app_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3251 3252 3253 3254 3255 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3251 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 |