Skip to content

Commit

Permalink
feat(playintegrity): update the api
Browse files Browse the repository at this point in the history
#### playintegrity:v1

The following keys were added:
- schemas.GuidanceDetails (Total Keys: 4)
- schemas.TokenPayloadExternal.properties.guidanceDetails.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent d48585c commit eca00d0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/dyn/playintegrity_v1.v1.html
Expand Up @@ -128,6 +128,11 @@ <h3>Method Details</h3>
&quot;A String&quot;,
],
},
&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.
&quot;userRemediation&quot;: [ # This shows when there is an issue with at least one of the integrity verdicts, and provides user remediation guidance.
&quot;A String&quot;,
],
},
&quot;requestDetails&quot;: { # Contains the integrity request information. # Required. Details about the integrity request.
&quot;nonce&quot;: &quot;A String&quot;, # Nonce that was provided in the request (which is base64 web-safe no-wrap).
&quot;requestHash&quot;: &quot;A String&quot;, # Request hash that was provided in the request.
Expand Down
36 changes: 35 additions & 1 deletion googleapiclient/discovery_cache/documents/playintegrity.v1.json
Expand Up @@ -138,7 +138,7 @@
}
}
},
"revision": "20230415",
"revision": "20230522",
"rootUrl": "https://playintegrity.googleapis.com/",
"schemas": {
"AccountActivity": {
Expand Down Expand Up @@ -284,6 +284,36 @@
},
"type": "object"
},
"GuidanceDetails": {
"description": "Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.",
"id": "GuidanceDetails",
"properties": {
"userRemediation": {
"description": "This shows when there is an issue with at least one of the integrity verdicts, and provides user remediation guidance.",
"items": {
"enum": [
"UNKNOWN_USER_REMEDIATION",
"RESTORE_FACTORY_ROM",
"LOCK_BOOTLOADER",
"GET_UNMODIFIED_APP",
"SIGN_INTO_GOOGLE_ACCOUNT",
"INSTALL_APP_FROM_PLAY"
],
"enumDescriptions": [
"Catch-all for unrecognized enum values. See go/protodosdonts.",
"The user has installed a custom ROM, and should restore the device to a clean factory ROM.",
"The device bootloader has been unlocked, the user should lock the bootloader.",
"The app is unrecognized. The user should get an unmodified version of the app.",
"The user has not signed into their Google account.",
"The user has no license. They should install or purchase the app on the Google Play Store to add it to their library."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RequestDetails": {
"description": "Contains the integrity request information.",
"id": "RequestDetails",
Expand Down Expand Up @@ -335,6 +365,10 @@
"$ref": "DeviceIntegrity",
"description": "Required. Details about the device integrity."
},
"guidanceDetails": {
"$ref": "GuidanceDetails",
"description": "Additional guidance related to the integrity API response."
},
"requestDetails": {
"$ref": "RequestDetails",
"description": "Required. Details about the integrity request."
Expand Down

0 comments on commit eca00d0

Please sign in to comment.