AppVersion
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Représentations d'une version d'application.
Représentation JSON |
{
"versionCode": string
} |
Champs |
versionCode |
string (int64 format)
Code numérique de la version de l'application (défini par le développeur de l'application).
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eApp versions are represented using JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation includes a \u003ccode\u003eversionCode\u003c/code\u003e field, which is a string formatted as an integer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eversionCode\u003c/code\u003e is set by the app developer and represents the numeric version of the app.\u003c/p\u003e\n"]]],["The JSON representation defines an app version using a `versionCode` field. This field is a string that follows the int64 format, representing the numeric version code set by the app's developer. The `versionCode` is the sole field in this representation, providing the numerical identifier for a specific version of the application.\n"],null,["# AppVersion\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresentations of an app version.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"versionCode\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `versionCode` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Numeric version code of the app version (set by the app's developer). |"]]