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.DeviceIntegrity.properties.recentDeviceActivity.$ref (Total Keys: 1)
- schemas.RecentDeviceActivity (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Jan 4, 2024
1 parent 710447b commit 90b5f16
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 13 deletions.
3 changes: 3 additions & 0 deletions docs/dyn/playintegrity_v1.v1.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ <h3>Method Details</h3>
&quot;deviceRecognitionVerdict&quot;: [ # Details about the integrity of the device the app is running on.
&quot;A String&quot;,
],
&quot;recentDeviceActivity&quot;: { # Recent device activity can help developers identify devices that have exhibited hyperactive attestation activity, which could be a sign of an attack or token farming. # Details about the device activity of the device the app is running on.
&quot;deviceActivityLevel&quot;: &quot;A String&quot;, # Required. Indicates the activity level of the device.
},
},
&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;appAccessRiskVerdict&quot;: { # Contains signals about others apps on the device which could be used to access or control the requesting app. # The evaluation of the App Access Risk verdicts.
Expand Down
47 changes: 34 additions & 13 deletions googleapiclient/discovery_cache/documents/playintegrity.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
}
}
},
"revision": "20231211",
"revision": "20240103",
"rootUrl": "https://playintegrity.googleapis.com/",
"schemas": {
"AccountActivity": {
Expand Down Expand Up @@ -315,28 +315,22 @@
"MEETS_BASIC_INTEGRITY",
"MEETS_DEVICE_INTEGRITY",
"MEETS_STRONG_INTEGRITY",
"MEETS_VIRTUAL_INTEGRITY",
"MEETS_WEAK_INTEGRITY"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
true
"MEETS_VIRTUAL_INTEGRITY"
],
"enumDescriptions": [
"Play does not have sufficient information to evaluate device integrity",
"App is running on a device that passes basic system integrity checks, but may not meet Android platform compatibility requirements and may not be approved to run Google Play services.",
"App is running on GMS Android device with Google Play services.",
"App is running on GMS Android device with Google Play services and has a strong guarantee of system integrity such as a hardware-backed keystore.",
"App is running on an Android emulator with Google Play services which meets core Android compatibility requirements.",
"Deprecated: this enum value will be removed. App is running on a device that passes only weak integrity checks (is a physical device)."
"App is running on an Android emulator with Google Play services which meets core Android compatibility requirements."
],
"type": "string"
},
"type": "array"
},
"recentDeviceActivity": {
"$ref": "RecentDeviceActivity",
"description": "Details about the device activity of the device the app is running on."
}
},
"type": "object"
Expand Down Expand Up @@ -374,6 +368,33 @@
},
"type": "object"
},
"RecentDeviceActivity": {
"description": "Recent device activity can help developers identify devices that have exhibited hyperactive attestation activity, which could be a sign of an attack or token farming.",
"id": "RecentDeviceActivity",
"properties": {
"deviceActivityLevel": {
"description": "Required. Indicates the activity level of the device.",
"enum": [
"DEVICE_ACTIVITY_LEVEL_UNSPECIFIED",
"UNEVALUATED",
"LEVEL_1",
"LEVEL_2",
"LEVEL_3",
"LEVEL_4"
],
"enumDescriptions": [
"Device activity level has not been set.",
"Device activity level has not been evaluated.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details."
],
"type": "string"
}
},
"type": "object"
},
"RequestDetails": {
"description": "Contains the integrity request information.",
"id": "RequestDetails",
Expand Down

0 comments on commit 90b5f16

Please sign in to comment.