CustomLocalAqi
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
表示“与 AQI 相关的国家/地区”关系。将某个国家/地区与所需的 AQI 配对,以便系统根据所选的 AQI 显示该国家/地区所需的空气质量数据。
JSON 表示法 |
{
"regionCode": string,
"aqi": string
} |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThe JSON object defines a relationship between a country/region and a specific Air Quality Index (AQI).\u003c/p\u003e\n"],["\u003cp\u003eIt uses \u003ccode\u003eregionCode\u003c/code\u003e (ISO 3166-1 alpha-2 code) to identify the country/region and \u003ccode\u003eaqi\u003c/code\u003e to specify the desired AQI.\u003c/p\u003e\n"],["\u003cp\u003eThis ensures air quality data for that country/region is displayed using the chosen AQI.\u003c/p\u003e\n"]]],[],null,["# CustomLocalAqi\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nExpresses 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.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"regionCode\": string, \"aqi\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `regionCode` | `string` The country/region requiring the custom AQI. Value should be provided using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. |\n| `aqi` | `string` The AQI to associate the country/region with. Value should be a [valid index](/maps/documentation/air-quality/laqis) code. |"]]