Skip to content

Commit 966b2ca

Browse files
feat(playintegrity): update the api
#### playintegrity:v1 The following keys were added: - schemas.DeviceAttributes (Total Keys: 4) - schemas.DeviceIntegrity.properties.deviceAttributes.$ref (Total Keys: 1)
1 parent 7f1c637 commit 966b2ca

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/dyn/playintegrity_v1.v1.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ <h3>Method Details</h3>
124124
&quot;versionCode&quot;: &quot;A String&quot;, # Version code of the application. Set iff app_recognition_verdict != UNEVALUATED.
125125
},
126126
&quot;deviceIntegrity&quot;: { # Contains the device attestation information. # Required. Details about the device integrity.
127+
&quot;deviceAttributes&quot;: { # Contains information about the device for which the integrity token was generated, e.g. Android SDK version. # Attributes of the device where the integrity token was generated.
128+
&quot;sdkVersion&quot;: 42, # 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&#x27;t be set if a necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
129+
},
127130
&quot;deviceRecall&quot;: { # Contains the recall bits per device set by the developer. # Details about the device recall bits set by the developer.
128131
&quot;values&quot;: { # Contains the recall bits values. # Required. Contains the recall bits values.
129132
&quot;bitFirst&quot;: True or False, # Required. First recall bit value.

googleapiclient/discovery_cache/documents/playintegrity.v1.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
}
171171
}
172172
},
173-
"revision": "20240813",
173+
"revision": "20241119",
174174
"rootUrl": "https://playintegrity.googleapis.com/",
175175
"schemas": {
176176
"AccountActivity": {
@@ -366,10 +366,26 @@
366366
},
367367
"type": "object"
368368
},
369+
"DeviceAttributes": {
370+
"description": "Contains information about the device for which the integrity token was generated, e.g. Android SDK version.",
371+
"id": "DeviceAttributes",
372+
"properties": {
373+
"sdkVersion": {
374+
"description": "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.",
375+
"format": "int32",
376+
"type": "integer"
377+
}
378+
},
379+
"type": "object"
380+
},
369381
"DeviceIntegrity": {
370382
"description": "Contains the device attestation information.",
371383
"id": "DeviceIntegrity",
372384
"properties": {
385+
"deviceAttributes": {
386+
"$ref": "DeviceAttributes",
387+
"description": "Attributes of the device where the integrity token was generated."
388+
},
373389
"deviceRecall": {
374390
"$ref": "DeviceRecall",
375391
"description": "Details about the device recall bits set by the developer."

0 commit comments

Comments
 (0)