Class: Google::Apis::PlayintegrityV1::AccountRiskVerdict

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

Instance Method Summary collapse

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_levelString

Required. Indicates the account risk level of the current user session. Corresponds to the JSON property riskLevel

Returns:

  • (String)


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