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.



284
285
286
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 284

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)


282
283
284
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 282

def device_activity_level
  @device_activity_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



289
290
291
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 289

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