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.



262
263
264
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 262

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



255
256
257
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 255

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)


260
261
262
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 260

def play_protect_verdict
  @play_protect_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



267
268
269
270
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 267

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