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.



2940
2941
2942
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2940

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)


2918
2919
2920
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2918

def app_id
  @app_id
end

#app_install_reasonString

App installation reason. Corresponds to the JSON property appInstallReason

Returns:

  • (String)


2923
2924
2925
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2923

def app_install_reason
  @app_install_reason
end

#app_install_sourceString

App installation source. Corresponds to the JSON property appInstallSource

Returns:

  • (String)


2928
2929
2930
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2928

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)


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

def app_install_time
  @app_install_time
end

#app_typeString

Type of app. Corresponds to the JSON property appType

Returns:

  • (String)


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

def app_type
  @app_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2945
2946
2947
2948
2949
2950
2951
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2945

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