Histogram result that matches
HistogramQuery
specified in searches.
Attributes
Name
Description
histogram_query
str
Requested histogram expression.
histogram
MutableMapping[str, int]
A map from the values of the facet associated with distinct
values to the number of matching entries with corresponding
value.
The key format is:
- (for string histogram) string values stored in the field.
[[["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-08-28 UTC."],[],[],null,["# Class HistogramQueryResult (0.7.16)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.16 (latest)](/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.7.15](/python/docs/reference/contentwarehouse/0.7.15/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.6.0](/python/docs/reference/contentwarehouse/0.6.0/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.5.1](/python/docs/reference/contentwarehouse/0.5.1/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.4.1](/python/docs/reference/contentwarehouse/0.4.1/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.3.1](/python/docs/reference/contentwarehouse/0.3.1/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.2.1](/python/docs/reference/contentwarehouse/0.2.1/google.cloud.contentwarehouse_v1.types.HistogramQueryResult)\n- [0.1.0](/python/docs/reference/contentwarehouse/0.1.0/google.cloud.contentwarehouse_v1.types.HistogramQueryResult) \n\n HistogramQueryResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nHistogram result that matches\nHistogramQuery\nspecified in searches.\n\nClasses\n-------\n\n### HistogramEntry\n\n HistogramEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe abstract base class for a message."]]