Class: Google::Apis::PlayintegrityV1::RecentDeviceActivity

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

Recent device activity can help developers identify devices that have exhibited hyperactive attestation activity, which could be a sign of an attack or token farming.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RecentDeviceActivity

Returns a new instance of RecentDeviceActivity.



323
324
325
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 323

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

Instance Attribute Details

#device_activity_levelString

Required. Indicates the activity level of the device. Corresponds to the JSON property deviceActivityLevel

Returns:

  • (String)


321
322
323
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 321

def device_activity_level
  @device_activity_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



328
329
330
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 328

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