Reference documentation and code samples for the Google Cloud Datastore v1 API class AggregationResult.
The result of a single bucket from a Datastore aggregation query.
The keys of aggregate_properties are the same for all results in an
aggregation query, unlike entity queries which can have different fields
present for each result.
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
[alias][google.datastore.v1.AggregationQuery.Aggregation.alias] assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAggregationResult\u003c/code\u003e class within the Google Cloud Datastore v1 API, specifically for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAggregationResult\u003c/code\u003e class represents the outcome of a single bucket derived from a Datastore aggregation query, containing the results of the specified aggregation functions.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions of the \u003ccode\u003eAggregationResult\u003c/code\u003e class, ranging from 3.2.0 to 4.15.0, with 4.15.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe page outlines the class's inheritance structure, listing \u003ccode\u003eobject\u003c/code\u003e as the base, and the interfaces it implements, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties, such as \u003ccode\u003eAggregateProperties\u003c/code\u003e, are detailed, explaining that it is a \u003ccode\u003eMapField\u003c/code\u003e that stores the results of the aggregation functions with their associated aliases.\u003c/p\u003e\n"]]],[],null,[]]