Precipitation
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
PrecipitationType
列舉 |
PRECIPITATION_TYPE_UNSPECIFIED |
未指定降雨類型。 |
NONE |
無降雨/降雪。 |
SNOW |
降雪。 |
RAIN |
降雨。 |
LIGHT_RAIN |
小雨。 |
HEAVY_RAIN |
大雨。 |
RAIN_AND_SNOW |
降雨和降雪。 |
SLEET |
冰雹降水。 |
FREEZING_RAIN |
凍雨。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]