- Action ID
-
actions.intent.CHECK_AIR_QUALITY
- Description
- Check the air quality at a specific location.
- Example queries
- Supported fields
-
attributes
location.@type
location.geo.@type
location.geo.latitude
location.geo.longitude
location.name
temporalCoverage
- JSON-LD sample
-
[ { "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": [] } ]
Check air quality
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-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\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 ```"]]