Code représentant l'unité utilisée pour mesurer la vitesse du vent.
value
number
Valeur de la vitesse du vent.
SpeedUnit
Représente l'unité utilisée pour mesurer la vitesse.
Enums
SPEED_UNIT_UNSPECIFIED
L'unité de vitesse n'est pas spécifiée.
KILOMETERS_PER_HOUR
La vitesse est mesurée en kilomètres par heure.
MILES_PER_HOUR
La vitesse est mesurée en miles par heure.
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/08/29 (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 2025/08/29 (UTC)."],[],[],null,["# Wind\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [WindDirection](#WindDirection)\n - [JSON representation](#WindDirection.SCHEMA_REPRESENTATION)\n- [CardinalDirection](#CardinalDirection)\n- [WindSpeed](#WindSpeed)\n - [JSON representation](#WindSpeed.SCHEMA_REPRESENTATION)\n- [SpeedUnit](#SpeedUnit)\n\nRepresents a set of wind properties.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"direction\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindDirection) }, \"speed\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) }, \"gust\": { object (/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed) } } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `direction` | `object (`[WindDirection](/maps/documentation/weather/reference/rest/v1/Wind#WindDirection)`)` The direction of the wind, the angle it is coming from. |\n| `speed` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The speed of the wind. |\n| `gust` | `object (`[WindSpeed](/maps/documentation/weather/reference/rest/v1/Wind#WindSpeed)`)` The wind gust (sudden increase in the wind speed). |\n\nWindDirection\n-------------\n\nRepresents the direction from which the wind originates.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"cardinal\": enum (/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection), \"degrees\": integer } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cardinal` | `enum (`[CardinalDirection](/maps/documentation/weather/reference/rest/v1/Wind#CardinalDirection)`)` The code that represents the cardinal direction from which the wind is blowing. |\n| `degrees` | `integer` The direction of the wind in degrees (values from 0 to 360). |\n\nCardinalDirection\n-----------------\n\nRepresents a cardinal direction (including ordinal directions).\n\n| Enums ||\n|----------------------------------|--------------------------------------------------------|\n| `CARDINAL_DIRECTION_UNSPECIFIED` | The cardinal direction is unspecified. |\n| `NORTH` | The north cardinal direction. |\n| `NORTH_NORTHEAST` | The north-northeast secondary intercardinal direction. |\n| `NORTHEAST` | The northeast intercardinal direction. |\n| `EAST_NORTHEAST` | The east-northeast secondary intercardinal direction. |\n| `EAST` | The east cardinal direction. |\n| `EAST_SOUTHEAST` | The east-southeast secondary intercardinal direction. |\n| `SOUTHEAST` | The southeast intercardinal direction. |\n| `SOUTH_SOUTHEAST` | The south-southeast secondary intercardinal direction. |\n| `SOUTH` | The south cardinal direction. |\n| `SOUTH_SOUTHWEST` | The south-southwest secondary intercardinal direction. |\n| `SOUTHWEST` | The southwest intercardinal direction. |\n| `WEST_SOUTHWEST` | The west-southwest secondary intercardinal direction. |\n| `WEST` | The west cardinal direction. |\n| `WEST_NORTHWEST` | The west-northwest secondary intercardinal direction. |\n| `NORTHWEST` | The northwest intercardinal direction. |\n| `NORTH_NORTHWEST` | The north-northwest secondary intercardinal direction. |\n\nWindSpeed\n---------\n\nRepresents the speed of the wind.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"unit\": enum (/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit), \"value\": number } ``` |\n\n| Fields ||\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `unit` | `enum (`[SpeedUnit](/maps/documentation/weather/reference/rest/v1/Wind#SpeedUnit)`)` The code that represents the unit used to measure the wind speed. |\n| `value` | `number` The value of the wind speed. |\n\nSpeedUnit\n---------\n\nRepresents the unit used to measure speed.\n\n| Enums ||\n|--------------------------|-----------------------------------------------|\n| `SPEED_UNIT_UNSPECIFIED` | The speed unit is unspecified. |\n| `KILOMETERS_PER_HOUR` | The speed is measured in kilometers per hour. |\n| `MILES_PER_HOUR` | The speed is measured in miles per hour. |"]]