Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppUninstallEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryAppUninstallEvent

Returns a new instance of GoogleChromeManagementV1TelemetryAppUninstallEvent.



2944
2945
2946
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2944

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)


2932
2933
2934
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2932

def app_id
  @app_id
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


2937
2938
2939
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2937

def app_type
  @app_type
end

#app_uninstall_sourceString

App uninstall source. Corresponds to the JSON property appUninstallSource

Returns:

  • (String)


2942
2943
2944
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2942

def app_uninstall_source
  @app_uninstall_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2949
2950
2951
2952
2953
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2949

def update!(**args)
  @app_id = args[:app_id] if args.key?(:app_id)
  @app_type = args[:app_type] if args.key?(:app_type)
  @app_uninstall_source = args[:app_uninstall_source] if args.key?(:app_uninstall_source)
end