Table of Contents

Namespace GoogleMapsApi.Entities.AirQuality.Request

Classes

CurrentConditionsRequest

Request for the Air Quality API currentConditions:lookup endpoint (POST https://airquality.googleapis.com/v1/currentConditions:lookup). Returns hourly air-quality information for a coordinate.

CustomLocalAqi

Pairs a country/region with the local Air Quality Index to report for it, overriding the API's default index for that region. Supplied via customLocalAqis.

ForecastRequest

Request for the Air Quality API forecast:lookup endpoint (POST https://airquality.googleapis.com/v1/forecast:lookup). Returns projected hourly air-quality data for a coordinate over a time range.

HeatmapTileRequest

Request for the Air Quality API heatmap-tile endpoint (GET https://airquality.googleapis.com/v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}). Downloads a single 256×256 PNG map tile for the chosen air-quality index. The response is binary, not JSON.

HistoryRequest

Request for the Air Quality API history:lookup endpoint (POST https://airquality.googleapis.com/v1/history:lookup). Returns past hourly air-quality records for a coordinate.

Interval

A half-open-to-inclusive time range for Period and Period. Both bounds are sent to the API as RFC3339 UTC timestamps.

LatLng

A WGS84 latitude/longitude coordinate sent in the request body (mirrors google.type.LatLng).

Enums

AirQualityMapType

The air-quality heatmap type (index and colour scheme) for a HeatmapTileRequest. Determines which pollutant/index the returned PNG tile renders.

ColorPalette

Colour palette used for the Universal Air Quality Index in the response (and in heatmap tiles). Supplied via uaqiColorPalette.

ExtraComputation

Optional additional computations the Air Quality API can run for a request, each enriching the response with extra data (local AQIs, health advice, pollutant detail). Supplied via extraComputations.