Targeting
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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."]]],[]]