Class: Google::Apis::AndroidmanagementV1::ApplicationReport
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ApplicationReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
Information reported about an installed app.
Instance Attribute Summary collapse
-
#application_source ⇒ String
The source of the package.
-
#display_name ⇒ String
The display name of the app.
-
#events ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationEvent>
List of app events.
-
#installer_package_name ⇒ String
The package name of the app that installed this app.
-
#package_name ⇒ String
Package name of the app.
-
#package_sha256_hash ⇒ String
The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified.
-
#signing_key_cert_fingerprints ⇒ Array<String>
The SHA-1 hash of each android.content.pm.Signature (https://developer.android. com/reference/android/content/pm/Signature.html) associated with the app package.
-
#state ⇒ String
Application state.
-
#version_code ⇒ Fixnum
The app version code, which can be used to determine whether one version is more recent than another.
-
#version_name ⇒ String
The app version as displayed to the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationReport
constructor
A new instance of ApplicationReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApplicationReport
Returns a new instance of ApplicationReport
323 324 325 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_source ⇒ String
The source of the package.
Corresponds to the JSON property applicationSource
270 271 272 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 270 def application_source @application_source end |
#display_name ⇒ String
The display name of the app.
Corresponds to the JSON property displayName
275 276 277 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 275 def display_name @display_name end |
#events ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationEvent>
List of app events. The most recent 20 events are stored in the list.
Corresponds to the JSON property events
280 281 282 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 280 def events @events end |
#installer_package_name ⇒ String
The package name of the app that installed this app.
Corresponds to the JSON property installerPackageName
285 286 287 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 285 def installer_package_name @installer_package_name end |
#package_name ⇒ String
Package name of the app.
Corresponds to the JSON property packageName
290 291 292 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 290 def package_name @package_name end |
#package_sha256_hash ⇒ String
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
297 298 299 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 297 def package_sha256_hash @package_sha256_hash end |
#signing_key_cert_fingerprints ⇒ Array<String>
The SHA-1 hash of each android.content.pm.Signature (https://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
305 306 307 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 305 def signing_key_cert_fingerprints @signing_key_cert_fingerprints end |
#state ⇒ String
Application state.
Corresponds to the JSON property state
310 311 312 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 310 def state @state end |
#version_code ⇒ Fixnum
The app version code, which can be used to determine whether one version is
more recent than another.
Corresponds to the JSON property versionCode
316 317 318 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 316 def version_code @version_code end |
#version_name ⇒ String
The app version as displayed to the user.
Corresponds to the JSON property versionName
321 322 323 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 321 def version_name @version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 328 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) @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 |