Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppLaunchEvent

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 launch data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryAppLaunchEvent

Returns a new instance of GoogleChromeManagementV1TelemetryAppLaunchEvent.



3360
3361
3362
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3360

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_idString

App id. For PWAs this is the start URL, and for extensions this is the extension id. Corresponds to the JSON property appId

Returns:

  • (String)


3348
3349
3350
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3348

def app_id
  @app_id
end

#app_launch_sourceString

App launch source. Corresponds to the JSON property appLaunchSource

Returns:

  • (String)


3353
3354
3355
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3353

def app_launch_source
  @app_launch_source
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


3358
3359
3360
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3358

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3365
3366
3367
3368
3369
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3365

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