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.



2974
2975
2976
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2974

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)


2962
2963
2964
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2962

def app_id
  @app_id
end

#app_launch_sourceString

App launch source. Corresponds to the JSON property appLaunchSource

Returns:

  • (String)


2967
2968
2969
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2967

def app_launch_source
  @app_launch_source
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


2972
2973
2974
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2972

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2979
2980
2981
2982
2983
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2979

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