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.EnvironmentDetails (Total Keys: 3)
- schemas.GuidanceDetails.deprecated (Total Keys: 1)
- schemas.TokenPayloadExternal.properties.environmentDetails.$ref (Total Keys: 1)
- schemas.TokenPayloadExternal.properties.guidanceDetails.deprecated (Total Keys: 1)
- schemas.UserRemediationDetails.deprecated (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Nov 7, 2023
1 parent 10aaf5e commit 0867a3b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 6 deletions.
7 changes: 5 additions & 2 deletions docs/dyn/playintegrity_v1.v1.html
Expand Up @@ -128,9 +128,12 @@ <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;environmentDetails&quot;: { # Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict. # Details of the environment Play Integrity API runs in.
&quot;playProtectVerdict&quot;: &quot;A String&quot;, # The evaluation of Play Protect verdict.
},
&quot;guidanceDetails&quot;: { # Deprecated: this field is not used. Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts. # Deprecated: this field is not used. Additional guidance related to the integrity API response.
&quot;userRemediationDetails&quot;: [ # This shows when there is an issue with at least one of the integrity verdicts, which can be remedied by the user and provides additional details.
{ # Contains details of remediation guidance that the user can perform.
{ # Deprecated: this field is not used. Contains details of remediation guidance that the user can perform.
&quot;remediation&quot;: &quot;A String&quot;, # Description of the user remediation action.
},
],
Expand Down
44 changes: 40 additions & 4 deletions googleapiclient/discovery_cache/documents/playintegrity.v1.json
Expand Up @@ -138,7 +138,7 @@
}
}
},
"revision": "20231030",
"revision": "20231106",
"rootUrl": "https://playintegrity.googleapis.com/",
"schemas": {
"AccountActivity": {
Expand Down Expand Up @@ -286,8 +286,38 @@
},
"type": "object"
},
"EnvironmentDetails": {
"description": "Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict.",
"id": "EnvironmentDetails",
"properties": {
"playProtectVerdict": {
"description": "The evaluation of Play Protect verdict.",
"enum": [
"PLAY_PROTECT_VERDICT_UNSPECIFIED",
"UNEVALUATED",
"NO_ISSUES",
"NO_DATA",
"MEDIUM_RISK",
"HIGH_RISK",
"POSSIBLE_RISK"
],
"enumDescriptions": [
"Play Protect verdict has not been set.",
"Play Protect state was not evaluated. Device may not be trusted.",
"Play Protect is on and no issues found.",
"Play Protect is on but no scan has been performed yet. The device or Play Store app may have been reset.",
"Play Protect is on and warnings found.",
"Play Protect is on and high severity issues found.",
"Play Protect is turned off. Turn on Play Protect."
],
"type": "string"
}
},
"type": "object"
},
"GuidanceDetails": {
"description": "Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.",
"deprecated": true,
"description": "Deprecated: this field is not used. Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.",
"id": "GuidanceDetails",
"properties": {
"userRemediationDetails": {
Expand Down Expand Up @@ -351,9 +381,14 @@
"$ref": "DeviceIntegrity",
"description": "Required. Details about the device integrity."
},
"environmentDetails": {
"$ref": "EnvironmentDetails",
"description": "Details of the environment Play Integrity API runs in."
},
"guidanceDetails": {
"$ref": "GuidanceDetails",
"description": "Additional guidance related to the integrity API response."
"deprecated": true,
"description": "Deprecated: this field is not used. Additional guidance related to the integrity API response."
},
"requestDetails": {
"$ref": "RequestDetails",
Expand All @@ -367,7 +402,8 @@
"type": "object"
},
"UserRemediationDetails": {
"description": "Contains details of remediation guidance that the user can perform.",
"deprecated": true,
"description": "Deprecated: this field is not used. Contains details of remediation guidance that the user can perform.",
"id": "UserRemediationDetails",
"properties": {
"remediation": {
Expand Down

0 comments on commit 0867a3b

Please sign in to comment.