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.



3070
3071
3072
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3070

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)


3058
3059
3060
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3058

def app_id
  @app_id
end

#app_launch_sourceString

App launch source. Corresponds to the JSON property appLaunchSource

Returns:

  • (String)


3063
3064
3065
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3063

def app_launch_source
  @app_launch_source
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


3068
3069
3070
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3068

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3075
3076
3077
3078
3079
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3075

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