Class: Google::Apis::PlayintegrityV1::AppIntegrity
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::AppIntegrity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playintegrity_v1/classes.rb,
lib/google/apis/playintegrity_v1/representations.rb,
lib/google/apis/playintegrity_v1/representations.rb
Overview
Contains the application integrity information.
Instance Attribute Summary collapse
-
#app_recognition_verdict ⇒ String
Required.
-
#certificate_sha256_digest ⇒ Array<String>
The SHA256 hash of the requesting app's signing certificates (base64 web-safe encoded).
-
#package_name ⇒ String
Package name of the application under attestation.
-
#version_code ⇒ Fixnum
Version code of the application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppIntegrity
constructor
A new instance of AppIntegrity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppIntegrity
Returns a new instance of AppIntegrity.
136 137 138 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_recognition_verdict ⇒ String
Required. Details about the app recognition verdict
Corresponds to the JSON property appRecognitionVerdict
116 117 118 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 116 def app_recognition_verdict @app_recognition_verdict end |
#certificate_sha256_digest ⇒ Array<String>
The SHA256 hash of the requesting app's signing certificates (base64 web-safe
encoded). Set iff app_recognition_verdict != UNEVALUATED.
Corresponds to the JSON property certificateSha256Digest
122 123 124 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 122 def certificate_sha256_digest @certificate_sha256_digest end |
#package_name ⇒ String
Package name of the application under attestation. Set iff
app_recognition_verdict != UNEVALUATED.
Corresponds to the JSON property packageName
128 129 130 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 128 def package_name @package_name end |
#version_code ⇒ Fixnum
Version code of the application. Set iff app_recognition_verdict !=
UNEVALUATED.
Corresponds to the JSON property versionCode
134 135 136 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 134 def version_code @version_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
141 142 143 144 145 146 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 141 def update!(**args) @app_recognition_verdict = args[:app_recognition_verdict] if args.key?(:app_recognition_verdict) @certificate_sha256_digest = args[:certificate_sha256_digest] if args.key?(:certificate_sha256_digest) @package_name = args[:package_name] if args.key?(:package_name) @version_code = args[:version_code] if args.key?(:version_code) end |