Class: Google::Apis::PlayintegrityV1::DeviceAttributes
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::DeviceAttributes
- 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 information about the device for which the integrity token was generated, e.g. Android SDK version.
Instance Attribute Summary collapse
-
#sdk_version ⇒ Fixnum
Android SDK version of the device, as defined in the public Android documentation: https://developer.android.com/reference/android/os/Build.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceAttributes
constructor
A new instance of DeviceAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceAttributes
Returns a new instance of DeviceAttributes.
201 202 203 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sdk_version ⇒ Fixnum
Android SDK version of the device, as defined in the public Android
documentation: https://developer.android.com/reference/android/os/Build.
VERSION_CODES. It won't be set if a necessary requirement was missed. For
example DeviceIntegrity did not meet the minimum bar.
Corresponds to the JSON property sdkVersion
199 200 201 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 199 def sdk_version @sdk_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 206 def update!(**args) @sdk_version = args[:sdk_version] if args.key?(:sdk_version) end |