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.



3326
3327
3328
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3326

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)


3304
3305
3306
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3304

def app_id
  @app_id
end

#app_install_reasonString

App installation reason. Corresponds to the JSON property appInstallReason

Returns:

  • (String)


3309
3310
3311
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3309

def app_install_reason
  @app_install_reason
end

#app_install_sourceString

App installation source. Corresponds to the JSON property appInstallSource

Returns:

  • (String)


3314
3315
3316
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3314

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)


3319
3320
3321
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3319

def app_install_time
  @app_install_time
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


3324
3325
3326
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3324

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3331
3332
3333
3334
3335
3336
3337
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3331

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