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.



62
63
64
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 62

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

Instance Attribute Details

#account_activityGoogle::Apis::PlayintegrityV1::AccountActivity

(Restricted Access) Contains a signal helping apps differentiating between likely genuine and likely non-genuine user traffic. Corresponds to the JSON property accountActivity



54
55
56
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 54

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)


60
61
62
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 60

def app_licensing_verdict
  @app_licensing_verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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