Precipitation
Stay organized with collections
Save and categorize content based on your preferences.
Represents a set of precipitation values at a given location.
Fields |
probability |
object (PrecipitationProbability )
The probability of precipitation (values from 0 to 100).
|
qpf |
object (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).
|
PrecipitationProbability
Represents the probability of precipitation at a given location.
Fields |
type |
enum (PrecipitationType )
A code that indicates the type of precipitation.
|
percent |
integer
A percentage from 0 to 100 that indicates the chances of precipitation.
|
PrecipitationType
Represents the type of precipitation at a given location.
Enums |
PRECIPITATION_TYPE_UNSPECIFIED |
Unspecified precipitation type. |
NONE |
No precipitation. |
SNOW |
Snow precipitation. |
RAIN |
Rain precipitation. |
LIGHT_RAIN |
Light rain precipitation. |
HEAVY_RAIN |
Heavy rain precipitation. |
RAIN_AND_SNOW |
Both rain and snow precipitations. |
SLEET |
Sleet precipitation. |
FREEZING_RAIN |
Freezing rain precipitation. |
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,["# 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. |"]]