google-apis-playintegrity_v1 0.29.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e6b0f84c4dca75b0275c1c33f65c11ea332f06bb3eda1d8f6f3448b5dcc0903
4
- data.tar.gz: 96c3ea27082a7c465d4e48e6ea4d494a80381452a54d92eeafb2b4571b76eb08
3
+ metadata.gz: cf2724d51fd28ecf5a8d2b5b782592c108ad549ddc355f84b699e6073d0ec6ab
4
+ data.tar.gz: a102fcdccb98fa48ac08a1abb6f6ed1c4e5fa4ec748f01ef88df93922aecab21
5
5
  SHA512:
6
- metadata.gz: ac58c33e2286d8f1b3f9091f0c3f0e58578eec3d53e6ffff5613fba42e1a84911d7030045dfeb8f04a88d69fd7528e5e4e430fd0e547515f9cfd0c5327aa7047
7
- data.tar.gz: abca5c8ed9f68847091ea0c08fa66ecf95d087c229c86b0a0935613e86da2b433cf1dba6de85b421fd047f52c5fdfcb9dc75ec0ccf45979563f55de49511383f
6
+ metadata.gz: a40081b246858c505f74e4cf6c4198962702b179dc170fcf24602973bbcbc75b50763354fab1c0faf8f8bb9f36ab16b421c3f298f97ec89a2e8643aaf912937c
7
+ data.tar.gz: be557ba66382b23a6433b62dce7dca508f4316760ed3daf13504a042da348384f85266b3d1fdb1807107f727a82a776f3fa4e056289bc57e93f25ef752889cb5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-playintegrity_v1
2
2
 
3
+ ### v0.30.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241127
6
+
3
7
  ### v0.29.0 (2024-08-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20240813
@@ -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.29.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 = "20240813"
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.29.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-08-18 00:00:00.000000000 Z
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.29.0
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.6
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