- 操作 ID
actions.intent.CHECK_AIR_QUALITY
- 说明
- 检查特定位置的空气质量。
- 示例查询
- 支持的字段
-
attributes
location.@type
location.geo.@type
location.geo.latitude
location.geo.longitude
location.name
temporalCoverage
- JSON-LD 示例
-
[ { "exampleValues": [ "2018-03-18T10:25:00" ], "name": "location", "schemaType": [] }, { "exampleValues": [ "2018-03-18T10:25:00" ], "name": "attributes", "schemaType": [] }, { "exampleValues": [ "2018-03-18T10:25:00" ], "name": "temporalCoverage", "schemaType": [] } ]
检查空气质量
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe \u003ccode\u003eactions.intent.CHECK_AIR_QUALITY\u003c/code\u003e action allows users to check the air quality at a specified location.\u003c/p\u003e\n"],["\u003cp\u003eUsers can trigger this action with queries like "What's the air quality?" or "How is the air quality in Mountain View?".\u003c/p\u003e\n"],["\u003cp\u003eThis action supports fields like location, attributes, and temporal coverage for detailed air quality information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation\u003c/code\u003e field can be specified using latitude, longitude, or a place name.\u003c/p\u003e\n"],["\u003cp\u003eJSON-LD format can be used to structure the data for this action, including example values for each supported field.\u003c/p\u003e\n"]]],[],null,["# Check air quality\n\nAction ID\n: `actions.intent.CHECK_AIR_QUALITY`\n\nDescription\n: Check the air quality at a specific location.\n\nExample queries\n:\n\n #### en-US\n\n - What's the air quality?\n - How is the air quality in Mountain View?\n\nSupported fields\n:\n [`attributes`](https://schema.googleapis.com/attributes)\n\n\n [`location.@type`](https://schema.googleapis.com/Location)\n\n\n [`location.geo.@type`](https://schema.googleapis.com/geo)\n\n\n [`location.geo.latitude`](https://schema.googleapis.com/latitude)\n\n\n [`location.geo.longitude`](https://schema.googleapis.com/longitude)\n\n\n [`location.name`](https://schema.googleapis.com/name)\n\n\n [`temporalCoverage`](https://schema.googleapis.com/temporalCoverage)\n\n\nJSON-LD sample\n:\n\n ```text\n [\n {\n \"exampleValues\": [\n \"2018-03-18T10:25:00\"\n ],\n \"name\": \"location\",\n \"schemaType\": []\n },\n {\n \"exampleValues\": [\n \"2018-03-18T10:25:00\"\n ],\n \"name\": \"attributes\",\n \"schemaType\": []\n },\n {\n \"exampleValues\": [\n \"2018-03-18T10:25:00\"\n ],\n \"name\": \"temporalCoverage\",\n \"schemaType\": []\n }\n ]\n ```"]]