Class: Google::Apis::PlayintegrityV1::AppIntegrity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_verdictString

Required. Details about the app recognition verdict Corresponds to the JSON property appRecognitionVerdict

Returns:

  • (String)


116
117
118
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 116

def app_recognition_verdict
  @app_recognition_verdict
end

#certificate_sha256_digestArray<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

Returns:

  • (Array<String>)


122
123
124
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 122

def certificate_sha256_digest
  @certificate_sha256_digest
end

#package_nameString

Package name of the application under attestation. Set iff app_recognition_verdict != UNEVALUATED. Corresponds to the JSON property packageName

Returns:

  • (String)


128
129
130
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 128

def package_name
  @package_name
end

#version_codeFixnum

Version code of the application. Set iff app_recognition_verdict != UNEVALUATED. Corresponds to the JSON property versionCode

Returns:

  • (Fixnum)


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