history
Creates, updates, deletes, gets or lists a history
resource.
Overview
Name | history |
Type | Resource |
Id | google.airquality.history |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
lookup | exec | Returns air quality history for a specific location for a given time range. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|
Lifecycle Methods
- lookup
Returns air quality history for a specific location for a given time range.
EXEC google.airquality.history.lookup
@@json=
'{
"pageSize": {{ pageSize }},
"pageToken": "{{ pageToken }}",
"location": "{{ location }}",
"dateTime": "{{ dateTime }}",
"hours": {{ hours }},
"period": "{{ period }}",
"universalAqi": {{ universalAqi }},
"extraComputations": "{{ extraComputations }}",
"languageCode": "{{ languageCode }}",
"uaqiColorPalette": "{{ uaqiColorPalette }}",
"customLocalAqis": "{{ customLocalAqis }}"
}';