Resource: Track
A track configuration. The resource for TracksService.
JSON representation |
---|
{
"track": string,
"releases": [
{
object ( |
Fields | |
---|---|
track |
Identifier of the track. Form factor tracks have a special prefix as an identifier, for example |
releases[] |
In a read request, represents all active releases in the track. In an update request, represents desired changes. |
Release
A release within a track.
JSON representation |
---|
{ "name": string, "versionCodes": [ string ], "releaseNotes": [ { object ( |
Fields | |
---|---|
name |
The release name. Not required to be unique. If not set, the name is generated from the APK's versionName. If the release contains multiple APKs, the name is generated from the date. |
versionCodes[] |
Version codes of all APKs in the release. Must include version codes to retain from previous releases. |
releaseNotes[] |
A description of what is new in this release. |
status |
The status of the release. |
userFraction |
Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is "inProgress" or "halted". |
countryTargeting |
Restricts a release to a specific set of countries. |
inAppUpdatePriority |
In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. inAppUpdatePriority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates. |
LocalizedText
Localized text in given language.
JSON representation |
---|
{ "language": string, "text": string } |
Fields | |
---|---|
language |
Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). |
text |
The text in the given language. |
Status
The status of a release.
Enums | |
---|---|
statusUnspecified |
Unspecified status. |
draft |
The release's APKs are not being served to users. |
inProgress |
The release's APKs are being served to a fraction of users, determined by 'userFraction'. |
halted |
The release's APKs will no longer be served to users. Users who already have these APKs are unaffected. |
completed |
The release will have no further changes. Its APKs are being served to all users, unless they are eligible to APKs of a more recent release. |
CountryTargeting
Country targeting specification.
JSON representation |
---|
{ "countries": [ string ], "includeRestOfWorld": boolean } |
Fields | |
---|---|
countries[] |
Countries to target, specified as two letter CLDR codes. |
includeRestOfWorld |
Include "rest of world" as well as explicitly targeted countries. |
Methods |
|
---|---|
|
Creates a new track. |
|
Gets a track. |
|
Lists all tracks. |
|
Patches a track. |
|
Updates a track. |