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.