Skip to content

Commit 423619b

Browse files
feat(playintegrity): update the api
#### playintegrity:v1 The following keys were added: - schemas.AccountRiskVerdict.properties.risk.type (Total Keys: 1)
1 parent d2139ca commit 423619b

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

docs/dyn/playintegrity_v1.v1.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,14 @@ <h3>Method Details</h3>
111111
&quot;tokenPayloadExternal&quot;: { # Contains basic app information and integrity signals like device attestation and licensing details. # Plain token payload generated from the decoded integrity token.
112112
&quot;accountDetails&quot;: { # Contains the account information such as the licensing status for the user in the scope. # Required. Details about the Play Store account.
113113
&quot;accountRiskVerdict&quot;: { # Contains information about account risk that indicates if the current user session seems low risk, unknown, or risky before you allow important actions to proceed. # Details about the account risk for the user in the scope. This feature is available only to selected developers.
114+
&quot;risk&quot;: &quot;A String&quot;, # Required. Indicates the account risk level of the current user session.
114115
&quot;riskLevel&quot;: &quot;A String&quot;, # Required. Indicates the account risk level of the current user session.
115116
},
116117
&quot;appLicensingVerdict&quot;: &quot;A String&quot;, # Required. Details about the licensing status of the user for the app in the scope.
117118
},
118119
&quot;appIntegrity&quot;: { # Contains the application integrity information. # Required. Details about the application integrity.
119120
&quot;appRecognitionVerdict&quot;: &quot;A String&quot;, # Required. Details about the app recognition verdict
120-
&quot;certificateSha256Digest&quot;: [ # Hex fingerprint of the application signing certificate. e.g. “ABCE1F....” Set iff app_recognition_verdict != UNEVALUATED.
121+
&quot;certificateSha256Digest&quot;: [ # The SHA256 hash of the requesting app&#x27;s signing certificates (base64 web-safe encoded). Set iff app_recognition_verdict != UNEVALUATED.
121122
&quot;A String&quot;,
122123
],
123124
&quot;packageName&quot;: &quot;A String&quot;, # Package name of the application under attestation. Set iff app_recognition_verdict != UNEVALUATED.

googleapiclient/discovery_cache/documents/playintegrity.v1.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
}
139139
}
140140
},
141-
"revision": "20220825",
141+
"revision": "20220904",
142142
"rootUrl": "https://playintegrity.googleapis.com/",
143143
"schemas": {
144144
"AccountDetails": {
@@ -172,6 +172,26 @@
172172
"description": "Contains information about account risk that indicates if the current user session seems low risk, unknown, or risky before you allow important actions to proceed.",
173173
"id": "AccountRiskVerdict",
174174
"properties": {
175+
"risk": {
176+
"description": "Required. Indicates the account risk level of the current user session.",
177+
"enum": [
178+
"RISK_UNSPECIFIED",
179+
"UNEVALUATED",
180+
"HIGHER",
181+
"UNKNOWN",
182+
"LOWER",
183+
"LOWEST"
184+
],
185+
"enumDescriptions": [
186+
"Risk has not been set.",
187+
"The account risk is not evaluated, because the device is not trusted or the user does not have a Play app license.",
188+
"Play thinks that at least one of the user accounts on the device has some unusual store engagement behavior that could be risky.",
189+
"Play does not have sufficient information to assess the risk. The account may be new, or it may lack activity on the Play Store.",
190+
"Play thinks the user could be genuine, since there is some store engagement. However, some signals to support the trust level are missing.",
191+
"Play thinks the user is more likely to be genuine due to harder to replicate store engagement signals."
192+
],
193+
"type": "string"
194+
},
175195
"riskLevel": {
176196
"description": "Required. Indicates the account risk level of the current user session.",
177197
"enum": [
@@ -216,7 +236,7 @@
216236
"type": "string"
217237
},
218238
"certificateSha256Digest": {
219-
"description": "Hex fingerprint of the application signing certificate. e.g. \u201cABCE1F....\u201d Set iff app_recognition_verdict != UNEVALUATED.",
239+
"description": "The SHA256 hash of the requesting app's signing certificates (base64 web-safe encoded). Set iff app_recognition_verdict != UNEVALUATED.",
220240
"items": {
221241
"type": "string"
222242
},

0 commit comments

Comments
 (0)