Class: Google::Apis::PlayintegrityV1::AccountRiskVerdict
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::AccountRiskVerdict
- 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 account risk that indicates if the current user session seems low risk, unknown, or risky before you allow important actions to proceed.
Instance Attribute Summary collapse
-
#risk_level ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountRiskVerdict
constructor
A new instance of AccountRiskVerdict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountRiskVerdict
Returns a new instance of AccountRiskVerdict.
65 66 67 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 65 def initialize(**args) update!(**args) end |
Instance Attribute Details
#risk_level ⇒ String
Required. Indicates the account risk level of the current user session.
Corresponds to the JSON property riskLevel
63 64 65 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 63 def risk_level @risk_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70 71 72 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 70 def update!(**args) @risk_level = args[:risk_level] if args.key?(:risk_level) end |