AIRQUALITY
airquality.currentConditions.lookup
enum_LookupCurrentConditionsRequestExtraComputations := [ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", "POLLUTANT_ADDITIONAL_INFO", "DOMINANT_POLLUTANT_CONCENTRATION", "POLLUTANT_CONCENTRATION" ]
enum_LookupCurrentConditionsRequestUaqiColorPalette := [ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", "INDIGO_PERSIAN_LIGHT" ]
valid {
input.Body.customLocalAqis[_].aqi == STRING
input.Body.customLocalAqis[_].regionCode == STRING
input.Body.extraComputations[_] == enum_LookupCurrentConditionsRequestExtraComputations[_]
input.Body.languageCode == STRING
input.Body.location.latitude == NUMBER
input.Body.location.longitude == NUMBER
input.Body.uaqiColorPalette == enum_LookupCurrentConditionsRequestUaqiColorPalette[_]
input.Body.universalAqi == BOOLEAN
input.ProviderMetadata.Region == STRING
}
airquality.forecast.lookup
enum_LookupForecastRequestExtraComputations := [ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", "POLLUTANT_ADDITIONAL_INFO", "DOMINANT_POLLUTANT_CONCENTRATION", "POLLUTANT_CONCENTRATION" ]
enum_LookupForecastRequestUaqiColorPalette := [ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", "INDIGO_PERSIAN_LIGHT" ]
valid {
input.Body.customLocalAqis[_].aqi == STRING
input.Body.customLocalAqis[_].regionCode == STRING
input.Body.dateTime == STRING
input.Body.extraComputations[_] == enum_LookupForecastRequestExtraComputations[_]
input.Body.languageCode == STRING
input.Body.location.latitude == NUMBER
input.Body.location.longitude == NUMBER
input.Body.pageSize == INTEGER
input.Body.pageToken == STRING
input.Body.period.endTime == STRING
input.Body.period.startTime == STRING
input.Body.uaqiColorPalette == enum_LookupForecastRequestUaqiColorPalette[_]
input.Body.universalAqi == BOOLEAN
input.ProviderMetadata.Region == STRING
}
airquality.history.lookup
enum_LookupHistoryRequestExtraComputations := [ "EXTRA_COMPUTATION_UNSPECIFIED", "LOCAL_AQI", "HEALTH_RECOMMENDATIONS", "POLLUTANT_ADDITIONAL_INFO", "DOMINANT_POLLUTANT_CONCENTRATION", "POLLUTANT_CONCENTRATION" ]
enum_LookupHistoryRequestUaqiColorPalette := [ "COLOR_PALETTE_UNSPECIFIED", "RED_GREEN", "INDIGO_PERSIAN_DARK", "INDIGO_PERSIAN_LIGHT" ]
valid {
input.Body.customLocalAqis[_].aqi == STRING
input.Body.customLocalAqis[_].regionCode == STRING
input.Body.dateTime == STRING
input.Body.extraComputations[_] == enum_LookupHistoryRequestExtraComputations[_]
input.Body.hours == INTEGER
input.Body.languageCode == STRING
input.Body.location.latitude == NUMBER
input.Body.location.longitude == NUMBER
input.Body.pageSize == INTEGER
input.Body.pageToken == STRING
input.Body.period.endTime == STRING
input.Body.period.startTime == STRING
input.Body.uaqiColorPalette == enum_LookupHistoryRequestUaqiColorPalette[_]
input.Body.universalAqi == BOOLEAN
input.ProviderMetadata.Region == STRING
}
airquality.mapTypes.heatmapTiles.lookupHeatmapTile
enum_MapTypeParameter := [ "MAP_TYPE_UNSPECIFIED", "UAQI_RED_GREEN", "UAQI_INDIGO_PERSIAN", "PM25_INDIGO_PERSIAN", "GBR_DEFRA", "DEU_UBA", "CAN_EC", "FRA_ATMO", "US_AQI" ]
valid {
input.ReqMap.mapType == enum_MapTypeParameter[_]
input.ReqMap.x == INTEGER
input.ReqMap.y == INTEGER
input.ReqMap.zoom == INTEGER
input.ProviderMetadata.Region == STRING
}
Updated 20 days ago