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.
284 285 286 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 284 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
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 |