Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LookupCurrentConditionsResponse

import type { LookupCurrentConditionsResponse } from "https://googleapis.deno.dev/v1/airquality:v1.ts";
interface LookupCurrentConditionsResponse {
dateTime?: Date;
healthRecommendations?: HealthRecommendations;
indexes?: AirQualityIndex[];
pollutants?: Pollutant[];
regionCode?: string;
}

§Properties

§
dateTime?: Date
[src]

A rounded down timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. For example: "2014-10-02T15:00:00Z".

§
healthRecommendations?: HealthRecommendations
[src]

Health advice and recommended actions related to the reported air quality conditions. Recommendations are tailored differently for populations at risk, groups with greater sensitivities to pollutants, and the general population.

§

Based on the request parameters, this list will include (up to) two air quality indexes: - Universal AQI. Will be returned if the universalAqi boolean is set to true. - Local AQI. Will be returned if the LOCAL_AQI extra computation is specified.

§
pollutants?: Pollutant[]
[src]

A list of pollutants affecting the location specified in the request. Note: This field will be returned only for requests that specified one or more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION.

§
regionCode?: string
[src]

The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.