Skip to content

Commit eca00d0

Browse files
feat(playintegrity): update the api
#### playintegrity:v1 The following keys were added: - schemas.GuidanceDetails (Total Keys: 4) - schemas.TokenPayloadExternal.properties.guidanceDetails.$ref (Total Keys: 1)
1 parent d48585c commit eca00d0

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

docs/dyn/playintegrity_v1.v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ <h3>Method Details</h3>
128128
&quot;A String&quot;,
129129
],
130130
},
131+
&quot;guidanceDetails&quot;: { # Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts. # Additional guidance related to the integrity API response.
132+
&quot;userRemediation&quot;: [ # This shows when there is an issue with at least one of the integrity verdicts, and provides user remediation guidance.
133+
&quot;A String&quot;,
134+
],
135+
},
131136
&quot;requestDetails&quot;: { # Contains the integrity request information. # Required. Details about the integrity request.
132137
&quot;nonce&quot;: &quot;A String&quot;, # Nonce that was provided in the request (which is base64 web-safe no-wrap).
133138
&quot;requestHash&quot;: &quot;A String&quot;, # Request hash that was provided in the request.

googleapiclient/discovery_cache/documents/playintegrity.v1.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
}
139139
}
140140
},
141-
"revision": "20230415",
141+
"revision": "20230522",
142142
"rootUrl": "https://playintegrity.googleapis.com/",
143143
"schemas": {
144144
"AccountActivity": {
@@ -284,6 +284,36 @@
284284
},
285285
"type": "object"
286286
},
287+
"GuidanceDetails": {
288+
"description": "Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.",
289+
"id": "GuidanceDetails",
290+
"properties": {
291+
"userRemediation": {
292+
"description": "This shows when there is an issue with at least one of the integrity verdicts, and provides user remediation guidance.",
293+
"items": {
294+
"enum": [
295+
"UNKNOWN_USER_REMEDIATION",
296+
"RESTORE_FACTORY_ROM",
297+
"LOCK_BOOTLOADER",
298+
"GET_UNMODIFIED_APP",
299+
"SIGN_INTO_GOOGLE_ACCOUNT",
300+
"INSTALL_APP_FROM_PLAY"
301+
],
302+
"enumDescriptions": [
303+
"Catch-all for unrecognized enum values. See go/protodosdonts.",
304+
"The user has installed a custom ROM, and should restore the device to a clean factory ROM.",
305+
"The device bootloader has been unlocked, the user should lock the bootloader.",
306+
"The app is unrecognized. The user should get an unmodified version of the app.",
307+
"The user has not signed into their Google account.",
308+
"The user has no license. They should install or purchase the app on the Google Play Store to add it to their library."
309+
],
310+
"type": "string"
311+
},
312+
"type": "array"
313+
}
314+
},
315+
"type": "object"
316+
},
287317
"RequestDetails": {
288318
"description": "Contains the integrity request information.",
289319
"id": "RequestDetails",
@@ -335,6 +365,10 @@
335365
"$ref": "DeviceIntegrity",
336366
"description": "Required. Details about the device integrity."
337367
},
368+
"guidanceDetails": {
369+
"$ref": "GuidanceDetails",
370+
"description": "Additional guidance related to the integrity API response."
371+
},
338372
"requestDetails": {
339373
"$ref": "RequestDetails",
340374
"description": "Required. Details about the integrity request."

0 commit comments

Comments
 (0)