Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Vous trouverez ci-dessous les définitions de type Google référencées par la spécification du flux "Activités à découvrir".
Définition de google.type.Money
// Represents an amount of money with its currency type.messagegoogle.type.Money{// The three-letter currency code defined in ISO 4217.stringcurrency_code=1;// The whole units of the amount.// For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.int64units=2;// Number of nano (10^-9) units of the amount.// The value must be between -999,999,999 and +999,999,999 inclusive.// If `units` is positive, `nanos` must be positive or zero.// If `units` is zero, `nanos` can be positive, zero, or negative.// If `units` is negative, `nanos` must be negative or zero.// For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.int32nanos=3;}
Définition de google.type.LatLng
// An object that represents a latitude/longitude pair. This is expressed as a// pair of doubles to represent degrees latitude and degrees longitude. Unless// specified otherwise, this must conform to the// <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84// standard</a>. Values must be within normalized ranges.messagegoogle.type.LatLng{// The latitude in degrees. It must be in the range [-90.0, +90.0].doublelatitude=1;// The longitude in degrees. It must be in the range [-180.0, +180.0].doublelongitude=2;}
Définition de google.type.LocalizedText
messagegoogle.type.LocalizedText{// Localized string in the language corresponding to `language_code`.stringtext=1;// The text's BCP-47 language code, such as "en-US" or "sr-Latn".//// For more information, see// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.stringlanguage_code=2;}
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/11/26 (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/11/26 (UTC)."],[[["Google provides type definitions like `google.type.Money`, `google.type.LatLng`, and `google.type.LocalizedText` that are used by the Things to do feed specification."],["`google.type.Money` represents monetary values with a currency code, whole units, and nano units for precision."],["`google.type.LatLng` stores geographical coordinates as latitude and longitude conforming to the WGS84 standard."],["`google.type.LocalizedText` allows for storing text with its corresponding language code for internationalization."]]],["The content defines three Google types. `google.type.Money` represents a monetary amount with a three-letter currency code, whole units, and nano units. `google.type.LatLng` defines a latitude/longitude pair in degrees, conforming to the WGS84 standard, with latitude ranging from -90.0 to +90.0 and longitude from -180.0 to +180.0. `google.type.LocalizedText` contains a localized string and its corresponding BCP-47 language code.\n"]]