Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Type de valeur d'une métrique.
Enums
METRIC_TYPE_UNSPECIFIED
Type non spécifié.
TYPE_INTEGER
Type entier.
TYPE_FLOAT
Type à virgule flottante.
TYPE_SECONDS
Durée en secondes ; type spécial à virgule flottante.
TYPE_MILLISECONDS
Durée en millisecondes ; type spécial à virgule flottante.
TYPE_MINUTES
Durée en minutes ; type spécial à virgule flottante.
TYPE_HOURS
Durée en heures ; type spécial à virgule flottante.
TYPE_STANDARD
Métrique personnalisée de type standard ; type spécial à virgule flottante.
TYPE_CURRENCY
Montant, type à virgule flottante spécial.
TYPE_FEET
Longueur en pieds ; type spécial à virgule flottante.
TYPE_MILES
Longueur en miles ; type spécial à virgule flottante.
TYPE_METERS
Longueur en mètres ; type spécial à virgule flottante.
TYPE_KILOMETERS
Longueur en kilomètres ; type spécial à virgule flottante.
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 2024/05/02 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/05/02 (UTC)."],[[["A metric's value can be an integer, floating point number, or a special floating point type representing durations, standard metrics, currency, or length."],["Special floating point types include durations (seconds, milliseconds, minutes, hours), standard metrics, currency, and lengths (feet, miles, meters, kilometers)."],["Unspecified type is available but should be avoided when defining a metric."]]],["The provided information details the various value types for a metric. These include `METRIC_TYPE_UNSPECIFIED`, `TYPE_INTEGER`, and `TYPE_FLOAT`. Special floating-point types are defined for durations like `TYPE_SECONDS`, `TYPE_MILLISECONDS`, `TYPE_MINUTES`, and `TYPE_HOURS`. Other special floating-point types represent custom metrics (`TYPE_STANDARD`), currency (`TYPE_CURRENCY`), and lengths in `TYPE_FEET`, `TYPE_MILES`, `TYPE_METERS`, and `TYPE_KILOMETERS`.\n"]]