- [JSON representation](https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#SCHEMA_REPRESENTATION)
- [PrecipitationProbability](https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability)
  - [JSON representation](https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability.SCHEMA_REPRESENTATION)
- [Type](https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#Type)

Represents a set of precipitation values at a given location.

| JSON representation |
|---|
| ``` { "probability": { object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability`) }, "snowQpf": { object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast`) }, "qpf": { object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast`) } } ``` |

| Fields ||
|---|---|
| `probability` | ``object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#PrecipitationProbability`)`` The probability of precipitation (values from 0 to 100). |
| `snowQpf` | ``object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast`)`` The amount of snow that is predicted to fall over a period of time, assuming no melting or compaction. Note: This is the actual snow amount, not its liquid water equivalent. QPF is an abbreviation for Quantitative Precipitation Forecast (please see the QuantitativePrecipitationForecast definition for more details). |
| `qpf` | ``object (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/QuantitativePrecipitationForecast`)`` The total liquid water equivalent of all precipitation (rain, snow, ice, etc.) that is predicted to fall 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.

| JSON representation |
|---|
| ``` { "type": enum (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#Type`), "percent": integer } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://developers.google.com/maps/documentation/weather/reference/rest/v1/Precipitation#Type`)`` Optional. A code that indicates the type of precipitation. |
| `percent` | `integer` A percentage from 0 to 100 that indicates the chances of precipitation. |

## Type

Represents the type of precipitation at a given location.

| Enums ||
|---|---|
| `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. |
| `PRECIPITATION_TYPE_HAIL` | Hail precipitation. |