class Google::Apis::AndroidmanagementV1::ApplicationReport

Information reported about an installed app.

Attributes

application_source[RW]

The source of the package. Corresponds to the JSON property `applicationSource` @return [String]

display_name[RW]

The display name of the app. Corresponds to the JSON property `displayName` @return [String]

events[RW]

List of app events. The most recent 20 events are stored in the list. Corresponds to the JSON property `events` @return [Array<Google::Apis::AndroidmanagementV1::ApplicationEvent>]

installer_package_name[RW]

The package name of the app that installed this app. Corresponds to the JSON property `installerPackageName` @return [String]

keyed_app_states[RW]

List of keyed app states reported by the app. Corresponds to the JSON property `keyedAppStates` @return [Array<Google::Apis::AndroidmanagementV1::KeyedAppState>]

package_name[RW]

Package name of the app. Corresponds to the JSON property `packageName` @return [String]

package_sha256_hash[RW]

The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two- digit hexadecimal number. Corresponds to the JSON property `packageSha256Hash` @return [String]

signing_key_cert_fingerprints[RW]

The SHA-1 hash of each android.content.pm.Signature (developer.android. com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. Corresponds to the JSON property `signingKeyCertFingerprints` @return [Array<String>]

state[RW]

Application state. Corresponds to the JSON property `state` @return [String]

version_code[RW]

The app version code, which can be used to determine whether one version is more recent than another. Corresponds to the JSON property `versionCode` @return [Fixnum]

version_name[RW]

The app version as displayed to the user. Corresponds to the JSON property `versionName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 442
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 447
def update!(**args)
  @application_source = args[:application_source] if args.key?(:application_source)
  @display_name = args[:display_name] if args.key?(:display_name)
  @events = args[:events] if args.key?(:events)
  @installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
  @keyed_app_states = args[:keyed_app_states] if args.key?(:keyed_app_states)
  @package_name = args[:package_name] if args.key?(:package_name)
  @package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
  @signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
  @state = args[:state] if args.key?(:state)
  @version_code = args[:version_code] if args.key?(:version_code)
  @version_name = args[:version_name] if args.key?(:version_name)
end