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

LookupCurrentConditionsRequest

import type { LookupCurrentConditionsRequest } from "https://googleapis.deno.dev/v1/airquality:v1.ts";

The request definition of the air quality current conditions.

interface LookupCurrentConditionsRequest {
customLocalAqis?: CustomLocalAqi[];
extraComputations?:
| "EXTRA_COMPUTATION_UNSPECIFIED"
| "LOCAL_AQI"
| "HEALTH_RECOMMENDATIONS"
| "POLLUTANT_ADDITIONAL_INFO"
| "DOMINANT_POLLUTANT_CONCENTRATION"
| "POLLUTANT_CONCENTRATION"[];
languageCode?: string;
location?: LatLng;
uaqiColorPalette?:
| "COLOR_PALETTE_UNSPECIFIED"
| "RED_GREEN"
| "INDIGO_PERSIAN_DARK"
| "INDIGO_PERSIAN_LIGHT";
universalAqi?: boolean;
}

§Properties

§
customLocalAqis?: CustomLocalAqi[]
[src]

Optional. Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI. This parameter can be used to specify a non-default AQI for a given country, for example, to get the US EPA index for Canada rather than the default index for Canada.

§
extraComputations?: "EXTRA_COMPUTATION_UNSPECIFIED" | "LOCAL_AQI" | "HEALTH_RECOMMENDATIONS" | "POLLUTANT_ADDITIONAL_INFO" | "DOMINANT_POLLUTANT_CONCENTRATION" | "POLLUTANT_CONCENTRATION"[]
[src]

Optional. Additional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.

§
languageCode?: string
[src]

Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF standard. Default value is en.

§
location?: LatLng
[src]

Required. The longitude and latitude from which the API looks for air quality current conditions data.

§
uaqiColorPalette?: "COLOR_PALETTE_UNSPECIFIED" | "RED_GREEN" | "INDIGO_PERSIAN_DARK" | "INDIGO_PERSIAN_LIGHT"
[src]

Optional. Determines the color palette used for data provided by the 'Universal Air Quality Index' (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.

§
universalAqi?: boolean
[src]

Optional. If set to true, the Universal AQI will be included in the 'indexes' field of the response. Default value is true.