Wind
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
WindDirection
字段 |
cardinal |
enum (CardinalDirection )
表示风吹来的方位角的代码。
|
degrees |
integer
风向(以度为单位,值介于 0 到 360 之间)。
|
CardinalDirection
枚举 |
CARDINAL_DIRECTION_UNSPECIFIED |
未指定基准方向。 |
NORTH |
正北方向。 |
NORTH_NORTHEAST |
东北偏北的次方位方向。 |
NORTHEAST |
东北方位。 |
EAST_NORTHEAST |
东北偏东次方位。 |
EAST |
东方。 |
EAST_SOUTHEAST |
东南偏东辅助方位。 |
SOUTHEAST |
东南方位。 |
SOUTH_SOUTHEAST |
南南东次方位。 |
SOUTH |
南方基本方向。 |
SOUTH_SOUTHWEST |
南西辅助方位。 |
SOUTHWEST |
西南方位。 |
WEST_SOUTHWEST |
西南偏西的次方位角。 |
WEST |
西方基本方向。 |
WEST_NORTHWEST |
西北偏西的次方位角。 |
NORTHWEST |
西北方位。 |
NORTH_NORTHWEST |
北西辅助方位。 |
WindSpeed
JSON 表示法 |
{
"unit": enum (SpeedUnit ),
"value": number
} |
字段 |
unit |
enum (SpeedUnit )
表示用于衡量风速的单位的代码。
|
value |
number
风速的值。
|
SpeedUnit
枚举 |
SPEED_UNIT_UNSPECIFIED |
速度单位未指定。 |
KILOMETERS_PER_HOUR |
速度以每小时公里为单位。 |
MILES_PER_HOUR |
速度以每小时英里为单位。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],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. |"]]