Wind
Stay organized with collections
Save and categorize content based on your preferences.
Represents a set of wind properties.
Fields |
direction |
object (WindDirection )
The direction of the wind, the angle it is coming from.
|
speed |
object (WindSpeed )
The speed of the wind.
|
gust |
object (WindSpeed )
The wind gust (sudden increase in the wind speed).
|
WindDirection
Represents the direction from which the wind originates.
Fields |
cardinal |
enum (CardinalDirection )
The code that represents the cardinal direction from which the wind is blowing.
|
degrees |
integer
The direction of the wind in degrees (values from 0 to 360).
|
CardinalDirection
Represents a cardinal direction (including ordinal directions).
Enums |
CARDINAL_DIRECTION_UNSPECIFIED |
The cardinal direction is unspecified. |
NORTH |
The north cardinal direction. |
NORTH_NORTHEAST |
The north-northeast secondary intercardinal direction. |
NORTHEAST |
The northeast intercardinal direction. |
EAST_NORTHEAST |
The east-northeast secondary intercardinal direction. |
EAST |
The east cardinal direction. |
EAST_SOUTHEAST |
The east-southeast secondary intercardinal direction. |
SOUTHEAST |
The southeast intercardinal direction. |
SOUTH_SOUTHEAST |
The south-southeast secondary intercardinal direction. |
SOUTH |
The south cardinal direction. |
SOUTH_SOUTHWEST |
The south-southwest secondary intercardinal direction. |
SOUTHWEST |
The southwest intercardinal direction. |
WEST_SOUTHWEST |
The west-southwest secondary intercardinal direction. |
WEST |
The west cardinal direction. |
WEST_NORTHWEST |
The west-northwest secondary intercardinal direction. |
NORTHWEST |
The northwest intercardinal direction. |
NORTH_NORTHWEST |
The north-northwest secondary intercardinal direction. |
WindSpeed
Represents the speed of the wind.
JSON representation |
{
"unit": enum (SpeedUnit ),
"value": number
} |
Fields |
unit |
enum (SpeedUnit )
The code that represents the unit used to measure the wind speed.
|
value |
number
The value of the wind speed.
|
SpeedUnit
Represents the unit used to measure speed.
Enums |
SPEED_UNIT_UNSPECIFIED |
The speed unit is unspecified. |
KILOMETERS_PER_HOUR |
The speed is measured in kilometers per hour. |
MILES_PER_HOUR |
The speed is measured in miles per hour. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 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. |"]]