Class: Google::Apis::PlayintegrityV1::EnvironmentDetails

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 information about the environment Play Integrity API runs in, e.g. Play Protect verdict.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvironmentDetails

Returns a new instance of EnvironmentDetails.



301
302
303
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 301

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_access_risk_verdictGoogle::Apis::PlayintegrityV1::AppAccessRiskVerdict

Contains signals about others apps on the device which could be used to access or control the requesting app. Corresponds to the JSON property appAccessRiskVerdict



294
295
296
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 294

def app_access_risk_verdict
  @app_access_risk_verdict
end

#play_protect_verdictString

The evaluation of Play Protect verdict. Corresponds to the JSON property playProtectVerdict

Returns:

  • (String)


299
300
301
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 299

def play_protect_verdict
  @play_protect_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



306
307
308
309
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 306

def update!(**args)
  @app_access_risk_verdict = args[:app_access_risk_verdict] if args.key?(:app_access_risk_verdict)
  @play_protect_verdict = args[:play_protect_verdict] if args.key?(:play_protect_verdict)
end