Precipitation
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
PrecipitationProbability
字段 |
type |
enum (PrecipitationType )
用于指示降水类型的代码。
|
percent |
integer
一个介于 0 到 100 之间的百分比,表示降水几率。
|
PrecipitationType
枚举 |
PRECIPITATION_TYPE_UNSPECIFIED |
未指定降水类型。 |
NONE |
无降水。 |
SNOW |
降雪。 |
RAIN |
降雨量。 |
LIGHT_RAIN |
小雨。 |
HEAVY_RAIN |
暴雨。 |
RAIN_AND_SNOW |
同时有雨和雪。 |
SLEET |
冻雨。 |
FREEZING_RAIN |
冻雨降水。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Precipitation\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PrecipitationProbability](#PrecipitationProbability)\n - [JSON representation](#PrecipitationProbability.SCHEMA_REPRESENTATION)\n- [PrecipitationType](#PrecipitationType)\n\nRepresents a set of precipitation values at a given location.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"probability\": { object (/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability) }, \"qpf\": { object (/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast) } } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `probability` | `object (`[PrecipitationProbability](/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability)`)` The probability of precipitation (values from 0 to 100). |\n| `qpf` | `object (`[QuantitativePrecipitationForecast](/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast)`)` The amount of precipitation (rain or snow), measured as liquid water equivalent, that has accumulated over a period of time. Note: QPF is an abbreviation for Quantitative Precipitation Forecast (please see the QuantitativePrecipitationForecast definition for more details). |\n\nPrecipitationProbability\n------------------------\n\nRepresents the probability of precipitation at a given location.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"type\": enum (/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationType), \"percent\": integer } ``` |\n\n| Fields ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | `enum (`[PrecipitationType](/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationType)`)` A code that indicates the type of precipitation. |\n| `percent` | `integer` A percentage from 0 to 100 that indicates the chances of precipitation. |\n\nPrecipitationType\n-----------------\n\nRepresents the type of precipitation at a given location.\n\n| Enums ||\n|----------------------------------|------------------------------------|\n| `PRECIPITATION_TYPE_UNSPECIFIED` | Unspecified precipitation type. |\n| `NONE` | No precipitation. |\n| `SNOW` | Snow precipitation. |\n| `RAIN` | Rain precipitation. |\n| `LIGHT_RAIN` | Light rain precipitation. |\n| `HEAVY_RAIN` | Heavy rain precipitation. |\n| `RAIN_AND_SNOW` | Both rain and snow precipitations. |\n| `SLEET` | Sleet precipitation. |\n| `FREEZING_RAIN` | Freezing rain precipitation. |"]]