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.



217
218
219
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 217

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



210
211
212
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 210

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)


215
216
217
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 215

def play_protect_verdict
  @play_protect_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



222
223
224
225
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 222

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