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.



3212
3213
3214
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3212

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)


3190
3191
3192
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3190

def app_id
  @app_id
end

#app_install_reasonString

App installation reason. Corresponds to the JSON property appInstallReason

Returns:

  • (String)


3195
3196
3197
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3195

def app_install_reason
  @app_install_reason
end

#app_install_sourceString

App installation source. Corresponds to the JSON property appInstallSource

Returns:

  • (String)


3200
3201
3202
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3200

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)


3205
3206
3207
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3205

def app_install_time
  @app_install_time
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


3210
3211
3212
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3210

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3217
3218
3219
3220
3221
3222
3223
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3217

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