Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryAppInstallEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryAppInstallEvent

Returns a new instance of GoogleChromeManagementV1TelemetryAppInstallEvent.



3036
3037
3038
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3036

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)


3014
3015
3016
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3014

def app_id
  @app_id
end

#app_install_reasonString

App installation reason. Corresponds to the JSON property appInstallReason

Returns:

  • (String)


3019
3020
3021
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3019

def app_install_reason
  @app_install_reason
end

#app_install_sourceString

App installation source. Corresponds to the JSON property appInstallSource

Returns:

  • (String)


3024
3025
3026
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3024

def app_install_source
  @app_install_source
end

#app_install_timeString

App installation time depending on the app lifecycle. Corresponds to the JSON property appInstallTime

Returns:

  • (String)


3029
3030
3031
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3029

def app_install_time
  @app_install_time
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


3034
3035
3036
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3034

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3041
3042
3043
3044
3045
3046
3047
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3041

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