Targeting
Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
JSON representation |
{
// Union field criteria can be only one of the following:
"regions": {
object (Regions )
},
"androidSdks": {
object (AndroidSdks )
},
"allUsers": {
object (AllUsers )
}
// End of list of possible types for union field criteria .
// Union field target_versions can be only one of the following:
"versionList": {
object (AppVersionList )
},
"versionRange": {
object (AppVersionRange )
}
// End of list of possible types for union field target_versions .
} |
Fields |
Union field criteria . Criteria for targeting recovery action. criteria can be only one of the following: |
regions |
object (Regions )
Targeting is based on the user account region.
|
androidSdks |
object (AndroidSdks )
Targeting is based on android api levels of devices.
|
allUsers |
object (AllUsers )
All users are targeted.
|
Union field target_versions . App versions targeted by the recovery action. Required. target_versions can be only one of the following: |
versionList |
object (AppVersionList )
Target version codes as a list.
|
versionRange |
object (AppVersionRange )
Target version codes as a range.
|
AppVersionList
Data format for a list of app versions.
JSON representation |
{
"versionCodes": [
string
]
} |
Fields |
versionCodes[] |
string (int64 format)
List of app version codes.
|
AppVersionRange
Data format for a continuous range of app versions.
JSON representation |
{
"versionCodeStart": string,
"versionCodeEnd": string
} |
Fields |
versionCodeStart |
string (int64 format)
Lowest app version in the range, inclusive.
|
versionCodeEnd |
string (int64 format)
Highest app version in the range, inclusive.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["Targeting details for a recovery action include regions, Android SDK levels, and app versions."],["Recovery actions can target specific app versions using either a list of version codes or a range of version codes."],["You can target all users or filter by region or Android SDK level for recovery actions."],["`AppVersionList` defines target app versions using a list of version codes, while `AppVersionRange` uses a start and end version code for a continuous range."]]],["This describes targeting options for recovery actions, utilizing JSON structures. Actions can target users based on `regions`, `androidSdks`, or `allUsers`. App versions can be targeted either as a `versionList` with specific `versionCodes` or as a `versionRange` defined by `versionCodeStart` and `versionCodeEnd`. `AppVersionList` and `AppVersionRange` provide formats to define version-specific targeting. A recovery action needs to target app versions, using one of the formats.\n"]]