Classes for representing Async aggregation queries for the Google Cloud Firestore API.
A AsyncAggregationQuery can be created directly from
a AsyncCollection and that can be
a more common way to create an aggregation query than direct usage of the constructor.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-11 UTC."],[],[],null,["# Module async_aggregation (2.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.21.0 (latest)](/python/docs/reference/firestore/latest/google.cloud.firestore_v1.async_aggregation)\n- [2.20.2](/python/docs/reference/firestore/2.20.2/google.cloud.firestore_v1.async_aggregation)\n- [2.19.0](/python/docs/reference/firestore/2.19.0/google.cloud.firestore_v1.async_aggregation)\n- [2.18.0](/python/docs/reference/firestore/2.18.0/google.cloud.firestore_v1.async_aggregation)\n- [2.17.2](/python/docs/reference/firestore/2.17.2/google.cloud.firestore_v1.async_aggregation)\n- [2.16.1](/python/docs/reference/firestore/2.16.1/google.cloud.firestore_v1.async_aggregation)\n- [2.15.0](/python/docs/reference/firestore/2.15.0/google.cloud.firestore_v1.async_aggregation)\n- [2.14.0](/python/docs/reference/firestore/2.14.0/google.cloud.firestore_v1.async_aggregation)\n- [2.13.1](/python/docs/reference/firestore/2.13.1/google.cloud.firestore_v1.async_aggregation)\n- [2.12.0](/python/docs/reference/firestore/2.12.0/google.cloud.firestore_v1.async_aggregation)\n- [2.11.1](/python/docs/reference/firestore/2.11.1/google.cloud.firestore_v1.async_aggregation)\n- [2.10.1](/python/docs/reference/firestore/2.10.1/google.cloud.firestore_v1.async_aggregation)\n- [2.9.1](/python/docs/reference/firestore/2.9.1/google.cloud.firestore_v1.async_aggregation)\n- [2.8.0](/python/docs/reference/firestore/2.8.0/google.cloud.firestore_v1.async_aggregation)\n- [2.7.3](/python/docs/reference/firestore/2.7.3/google.cloud.firestore_v1.async_aggregation)\n- [2.6.1](/python/docs/reference/firestore/2.6.1/google.cloud.firestore_v1.async_aggregation)\n- [2.5.3](/python/docs/reference/firestore/2.5.3/google.cloud.firestore_v1.async_aggregation)\n- [2.4.0](/python/docs/reference/firestore/2.4.0/google.cloud.firestore_v1.async_aggregation)\n- [2.3.4](/python/docs/reference/firestore/2.3.4/google.cloud.firestore_v1.async_aggregation)\n- [2.2.0](/python/docs/reference/firestore/2.2.0/google.cloud.firestore_v1.async_aggregation)\n- [2.1.3](/python/docs/reference/firestore/2.1.3/google.cloud.firestore_v1.async_aggregation)\n- [2.0.2](/python/docs/reference/firestore/2.0.2/google.cloud.firestore_v1.async_aggregation)\n- [1.9.2](/python/docs/reference/firestore/1.9.2/google.cloud.firestore_v1.async_aggregation)\n- [1.8.1](/python/docs/reference/firestore/1.8.1/google.cloud.firestore_v1.async_aggregation)\n- [1.7.0](/python/docs/reference/firestore/1.7.0/google.cloud.firestore_v1.async_aggregation)\n- [1.6.2](/python/docs/reference/firestore/1.6.2/google.cloud.firestore_v1.async_aggregation)\n- [1.5.0](/python/docs/reference/firestore/1.5.0/google.cloud.firestore_v1.async_aggregation)\n- [1.4.0](/python/docs/reference/firestore/1.4.0/google.cloud.firestore_v1.async_aggregation)\n- [1.3.0](/python/docs/reference/firestore/1.3.0/google.cloud.firestore_v1.async_aggregation) \nClasses for representing Async aggregation queries for the Google Cloud Firestore API.\n\nA [AsyncAggregationQuery](/python/docs/reference/firestore/latest/google.cloud.firestore_v1.async_aggregation.AsyncAggregationQuery) can be created directly from\na AsyncCollection and that can be\na more common way to create an aggregation query than direct usage of the constructor.\n\nClasses\n-------\n\n### [AsyncAggregationQuery](/python/docs/reference/firestore/latest/google.cloud.firestore_v1.async_aggregation.AsyncAggregationQuery)\n\n AsyncAggregationQuery(nested_query)\n\nRepresents an aggregation query to the Firestore API."]]