google-apis-playintegrity_v1 0.29.0 → 0.31.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: 97af76aff999b22afefe7840143a3050e35fcd38a556ab806bfa9282954cdb7d
|
4
|
+
data.tar.gz: 204a35c9bf49390515f5b3c52b15af9b3f806c4278e1f21102f4f4a788df1d13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1df19d506bf05a422207b710c1c495548d646b58508b3895ce2977d9280c790d1196a0dc0a8ac4310ad0c30e185908f2410ce154127d52e1fa54ecd876d6b0a9
|
7
|
+
data.tar.gz: a903807812331d8bae10a6bd2e6629f131e59d3f4daaac14b27b11d2f6bc01a446f284fdcf2bc15bfe7971e5bac74066a2c3c71b5275fc659a6dc2a632e648dd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-playintegrity_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250223
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.30.0 (2024-12-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241127
|
11
|
+
|
3
12
|
### v0.29.0 (2024-08-18)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240813
|
@@ -80,20 +80,6 @@ module Google
|
|
80
80
|
# @return [Array<String>]
|
81
81
|
attr_accessor :apps_detected
|
82
82
|
|
83
|
-
# Deprecated: this field will be removed, please use apps_detected instead. App
|
84
|
-
# access risk verdict related to apps that are not installed by Google Play, and
|
85
|
-
# are not preloaded on the system image by the device manufacturer.
|
86
|
-
# Corresponds to the JSON property `otherApps`
|
87
|
-
# @return [String]
|
88
|
-
attr_accessor :other_apps
|
89
|
-
|
90
|
-
# Deprecated: this field will be removed, please use apps_detected instead. App
|
91
|
-
# access risk verdict related to apps that are not installed by the Google Play
|
92
|
-
# Store, and are not preloaded on the system image by the device manufacturer.
|
93
|
-
# Corresponds to the JSON property `playOrSystemApps`
|
94
|
-
# @return [String]
|
95
|
-
attr_accessor :play_or_system_apps
|
96
|
-
|
97
83
|
def initialize(**args)
|
98
84
|
update!(**args)
|
99
85
|
end
|
@@ -101,8 +87,6 @@ module Google
|
|
101
87
|
# Update properties of this object
|
102
88
|
def update!(**args)
|
103
89
|
@apps_detected = args[:apps_detected] if args.key?(:apps_detected)
|
104
|
-
@other_apps = args[:other_apps] if args.key?(:other_apps)
|
105
|
-
@play_or_system_apps = args[:play_or_system_apps] if args.key?(:play_or_system_apps)
|
106
90
|
end
|
107
91
|
end
|
108
92
|
|
@@ -185,10 +169,39 @@ module Google
|
|
185
169
|
end
|
186
170
|
end
|
187
171
|
|
172
|
+
# Contains information about the device for which the integrity token was
|
173
|
+
# generated, e.g. Android SDK version.
|
174
|
+
class DeviceAttributes
|
175
|
+
include Google::Apis::Core::Hashable
|
176
|
+
|
177
|
+
# Android SDK version of the device, as defined in the public Android
|
178
|
+
# documentation: https://developer.android.com/reference/android/os/Build.
|
179
|
+
# VERSION_CODES. It won't be set if a necessary requirement was missed. For
|
180
|
+
# example DeviceIntegrity did not meet the minimum bar.
|
181
|
+
# Corresponds to the JSON property `sdkVersion`
|
182
|
+
# @return [Fixnum]
|
183
|
+
attr_accessor :sdk_version
|
184
|
+
|
185
|
+
def initialize(**args)
|
186
|
+
update!(**args)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Update properties of this object
|
190
|
+
def update!(**args)
|
191
|
+
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
188
195
|
# Contains the device attestation information.
|
189
196
|
class DeviceIntegrity
|
190
197
|
include Google::Apis::Core::Hashable
|
191
198
|
|
199
|
+
# Contains information about the device for which the integrity token was
|
200
|
+
# generated, e.g. Android SDK version.
|
201
|
+
# Corresponds to the JSON property `deviceAttributes`
|
202
|
+
# @return [Google::Apis::PlayintegrityV1::DeviceAttributes]
|
203
|
+
attr_accessor :device_attributes
|
204
|
+
|
192
205
|
# Contains the recall bits per device set by the developer.
|
193
206
|
# Corresponds to the JSON property `deviceRecall`
|
194
207
|
# @return [Google::Apis::PlayintegrityV1::DeviceRecall]
|
@@ -199,6 +212,14 @@ module Google
|
|
199
212
|
# @return [Array<String>]
|
200
213
|
attr_accessor :device_recognition_verdict
|
201
214
|
|
215
|
+
# Contains legacy details about the integrity of the device the app is running
|
216
|
+
# on. Only for devices with Android version T or higher and only for apps opted
|
217
|
+
# in to the new verdicts. Only available during the transition period to the new
|
218
|
+
# verdicts system and will be removed afterwards.
|
219
|
+
# Corresponds to the JSON property `legacyDeviceRecognitionVerdict`
|
220
|
+
# @return [Array<String>]
|
221
|
+
attr_accessor :legacy_device_recognition_verdict
|
222
|
+
|
202
223
|
# Recent device activity can help developers identify devices that have
|
203
224
|
# exhibited hyperactive attestation activity, which could be a sign of an attack
|
204
225
|
# or token farming.
|
@@ -212,8 +233,10 @@ module Google
|
|
212
233
|
|
213
234
|
# Update properties of this object
|
214
235
|
def update!(**args)
|
236
|
+
@device_attributes = args[:device_attributes] if args.key?(:device_attributes)
|
215
237
|
@device_recall = args[:device_recall] if args.key?(:device_recall)
|
216
238
|
@device_recognition_verdict = args[:device_recognition_verdict] if args.key?(:device_recognition_verdict)
|
239
|
+
@legacy_device_recognition_verdict = args[:legacy_device_recognition_verdict] if args.key?(:legacy_device_recognition_verdict)
|
217
240
|
@recent_device_activity = args[:recent_device_activity] if args.key?(:recent_device_activity)
|
218
241
|
end
|
219
242
|
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.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250223"
|
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
|
|
@@ -144,8 +150,6 @@ module Google
|
|
144
150
|
# @private
|
145
151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
146
152
|
collection :apps_detected, as: 'appsDetected'
|
147
|
-
property :other_apps, as: 'otherApps'
|
148
|
-
property :play_or_system_apps, as: 'playOrSystemApps'
|
149
153
|
end
|
150
154
|
end
|
151
155
|
|
@@ -174,12 +178,22 @@ module Google
|
|
174
178
|
end
|
175
179
|
end
|
176
180
|
|
181
|
+
class DeviceAttributes
|
182
|
+
# @private
|
183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
+
property :sdk_version, as: 'sdkVersion'
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
177
188
|
class DeviceIntegrity
|
178
189
|
# @private
|
179
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
191
|
+
property :device_attributes, as: 'deviceAttributes', class: Google::Apis::PlayintegrityV1::DeviceAttributes, decorator: Google::Apis::PlayintegrityV1::DeviceAttributes::Representation
|
192
|
+
|
180
193
|
property :device_recall, as: 'deviceRecall', class: Google::Apis::PlayintegrityV1::DeviceRecall, decorator: Google::Apis::PlayintegrityV1::DeviceRecall::Representation
|
181
194
|
|
182
195
|
collection :device_recognition_verdict, as: 'deviceRecognitionVerdict'
|
196
|
+
collection :legacy_device_recognition_verdict, as: 'legacyDeviceRecognitionVerdict'
|
183
197
|
property :recent_device_activity, as: 'recentDeviceActivity', class: Google::Apis::PlayintegrityV1::RecentDeviceActivity, decorator: Google::Apis::PlayintegrityV1::RecentDeviceActivity::Representation
|
184
198
|
|
185
199
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-playintegrity_v1/v0.31.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playintegrity_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Google Play Integrity API V1
|
82
79
|
test_files: []
|