CustomLocalAqi
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.
JSON representation |
{
"regionCode": string,
"aqi": string
} |
Fields |
regionCode |
string
The country/region requiring the custom AQI. Value should be provided using ISO 3166-1 alpha-2 code.
|
aqi |
string
The AQI to associate the country/region with. Value should be a valid index code.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[null,null,["Last updated 2024-08-28 UTC."],[[["The JSON object defines a relationship between a country/region and a specific Air Quality Index (AQI)."],["It uses `regionCode` (ISO 3166-1 alpha-2 code) to identify the country/region and `aqi` to specify the desired AQI."],["This ensures air quality data for that country/region is displayed using the chosen AQI."]]],[]]