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.



66
67
68
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 66

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

Instance Attribute Details

#account_activityGoogle::Apis::PlayintegrityV1::AccountActivity

Contains a signal helping apps differentiating between likely genuine users and likely non-genuine traffic (such as accounts being used for fraud, accounts used by automated traffic, or accounts used in device farms) based on the presence and volume of Play store activity. Corresponds to the JSON property accountActivity



58
59
60
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 58

def 
  @account_activity
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)


64
65
66
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 64

def app_licensing_verdict
  @app_licensing_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



71
72
73
74
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 71

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