Class: Google::Apis::PlayintegrityV1::AccountDetails

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 the account information such as the licensing status for the user in the scope.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountDetails

Returns a new instance of AccountDetails.



43
44
45
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 43

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

Instance Attribute Details

#account_risk_verdictGoogle::Apis::PlayintegrityV1::AccountRiskVerdict

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. Corresponds to the JSON property accountRiskVerdict



35
36
37
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 35

def 
  @account_risk_verdict
end

#app_licensing_verdictString

Required. Details about the licensing status of the user for the app in the scope. Corresponds to the JSON property appLicensingVerdict

Returns:

  • (String)


41
42
43
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 41

def app_licensing_verdict
  @app_licensing_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48
49
50
51
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 48

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