google-apis-playintegrity_v1 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf2724d51fd28ecf5a8d2b5b782592c108ad549ddc355f84b699e6073d0ec6ab
|
4
|
+
data.tar.gz: a102fcdccb98fa48ac08a1abb6f6ed1c4e5fa4ec748f01ef88df93922aecab21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40081b246858c505f74e4cf6c4198962702b179dc170fcf24602973bbcbc75b50763354fab1c0faf8f8bb9f36ab16b421c3f298f97ec89a2e8643aaf912937c
|
7
|
+
data.tar.gz: be557ba66382b23a6433b62dce7dca508f4316760ed3daf13504a042da348384f85266b3d1fdb1807107f727a82a776f3fa4e056289bc57e93f25ef752889cb5
|
data/CHANGELOG.md
CHANGED
@@ -185,10 +185,39 @@ module Google
|
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
|
+
# Contains information about the device for which the integrity token was
|
189
|
+
# generated, e.g. Android SDK version.
|
190
|
+
class DeviceAttributes
|
191
|
+
include Google::Apis::Core::Hashable
|
192
|
+
|
193
|
+
# Android SDK version of the device, as defined in the public Android
|
194
|
+
# documentation: https://developer.android.com/reference/android/os/Build.
|
195
|
+
# VERSION_CODES. It won't be set if a necessary requirement was missed. For
|
196
|
+
# example DeviceIntegrity did not meet the minimum bar.
|
197
|
+
# Corresponds to the JSON property `sdkVersion`
|
198
|
+
# @return [Fixnum]
|
199
|
+
attr_accessor :sdk_version
|
200
|
+
|
201
|
+
def initialize(**args)
|
202
|
+
update!(**args)
|
203
|
+
end
|
204
|
+
|
205
|
+
# Update properties of this object
|
206
|
+
def update!(**args)
|
207
|
+
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
188
211
|
# Contains the device attestation information.
|
189
212
|
class DeviceIntegrity
|
190
213
|
include Google::Apis::Core::Hashable
|
191
214
|
|
215
|
+
# Contains information about the device for which the integrity token was
|
216
|
+
# generated, e.g. Android SDK version.
|
217
|
+
# Corresponds to the JSON property `deviceAttributes`
|
218
|
+
# @return [Google::Apis::PlayintegrityV1::DeviceAttributes]
|
219
|
+
attr_accessor :device_attributes
|
220
|
+
|
192
221
|
# Contains the recall bits per device set by the developer.
|
193
222
|
# Corresponds to the JSON property `deviceRecall`
|
194
223
|
# @return [Google::Apis::PlayintegrityV1::DeviceRecall]
|
@@ -199,6 +228,14 @@ module Google
|
|
199
228
|
# @return [Array<String>]
|
200
229
|
attr_accessor :device_recognition_verdict
|
201
230
|
|
231
|
+
# Contains legacy details about the integrity of the device the app is running
|
232
|
+
# on. Only for devices with Android version T or higher and only for apps opted
|
233
|
+
# in to the new verdicts. Only available during the transition period to the new
|
234
|
+
# verdicts system and will be removed afterwards.
|
235
|
+
# Corresponds to the JSON property `legacyDeviceRecognitionVerdict`
|
236
|
+
# @return [Array<String>]
|
237
|
+
attr_accessor :legacy_device_recognition_verdict
|
238
|
+
|
202
239
|
# Recent device activity can help developers identify devices that have
|
203
240
|
# exhibited hyperactive attestation activity, which could be a sign of an attack
|
204
241
|
# or token farming.
|
@@ -212,8 +249,10 @@ module Google
|
|
212
249
|
|
213
250
|
# Update properties of this object
|
214
251
|
def update!(**args)
|
252
|
+
@device_attributes = args[:device_attributes] if args.key?(:device_attributes)
|
215
253
|
@device_recall = args[:device_recall] if args.key?(:device_recall)
|
216
254
|
@device_recognition_verdict = args[:device_recognition_verdict] if args.key?(:device_recognition_verdict)
|
255
|
+
@legacy_device_recognition_verdict = args[:legacy_device_recognition_verdict] if args.key?(:legacy_device_recognition_verdict)
|
217
256
|
@recent_device_activity = args[:recent_device_activity] if args.key?(:recent_device_activity)
|
218
257
|
end
|
219
258
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PlayintegrityV1
|
18
18
|
# Version of the google-apis-playintegrity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241127"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class DeviceAttributes
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class DeviceIntegrity
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -174,12 +180,22 @@ module Google
|
|
174
180
|
end
|
175
181
|
end
|
176
182
|
|
183
|
+
class DeviceAttributes
|
184
|
+
# @private
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
+
property :sdk_version, as: 'sdkVersion'
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
177
190
|
class DeviceIntegrity
|
178
191
|
# @private
|
179
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
193
|
+
property :device_attributes, as: 'deviceAttributes', class: Google::Apis::PlayintegrityV1::DeviceAttributes, decorator: Google::Apis::PlayintegrityV1::DeviceAttributes::Representation
|
194
|
+
|
180
195
|
property :device_recall, as: 'deviceRecall', class: Google::Apis::PlayintegrityV1::DeviceRecall, decorator: Google::Apis::PlayintegrityV1::DeviceRecall::Representation
|
181
196
|
|
182
197
|
collection :device_recognition_verdict, as: 'deviceRecognitionVerdict'
|
198
|
+
collection :legacy_device_recognition_verdict, as: 'legacyDeviceRecognitionVerdict'
|
183
199
|
property :recent_device_activity, as: 'recentDeviceActivity', class: Google::Apis::PlayintegrityV1::RecentDeviceActivity, decorator: Google::Apis::PlayintegrityV1::RecentDeviceActivity::Representation
|
184
200
|
|
185
201
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-playintegrity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playintegrity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-playintegrity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-playintegrity_v1/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playintegrity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Play Integrity API V1
|