Class: Google::Apis::PlayintegrityV1::AccountActivity

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountActivity

Returns a new instance of AccountActivity.



37
38
39
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 37

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

Instance Attribute Details

#activity_levelString

Required. Indicates the activity level of the account. Corresponds to the JSON property activityLevel

Returns:

  • (String)


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

def activity_level
  @activity_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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