Class: Google::Apis::PlayintegrityV1::RecentDeviceActivity
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::RecentDeviceActivity
- 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
-
#device_activity_level ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RecentDeviceActivity
constructor
A new instance of RecentDeviceActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_level ⇒ String
Required. Indicates the activity level of the device.
Corresponds to the JSON property deviceActivityLevel
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 |