public sealed class SearchResponse.Types.Facet.Types.FacetValue : IMessage<SearchResponse.Types.Facet.Types.FacetValue>, IEquatable<SearchResponse.Types.Facet.Types.FacetValue>, IDeepCloneable<SearchResponse.Types.Facet.Types.FacetValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class SearchResponse.Types.Facet.Types.FacetValue.
A facet value which contains value names and their count.
The maximum value in the
[FacetValue.interval][google.cloud.retail.v2.SearchResponse.Facet.FacetValue.interval].
Only supported on numerical facets and returned if
[SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.return_min_max]
is true.
The minimum value in the
[FacetValue.interval][google.cloud.retail.v2.SearchResponse.Facet.FacetValue.interval].
Only supported on numerical facets and returned if
[SearchRequest.FacetSpec.FacetKey.return_min_max][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.return_min_max]
is true.
[[["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\u003eThe content provides documentation for the \u003ccode\u003eSearchResponse.Types.Facet.Types.FacetValue\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its purpose as a container for facet value names and their counts.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eFacetValue\u003c/code\u003e, is part of a hierarchical structure in the API, nested within \u003ccode\u003eSearchResponse\u003c/code\u003e, \u003ccode\u003eTypes\u003c/code\u003e, \u003ccode\u003eFacet\u003c/code\u003e, and further nested in \u003ccode\u003eTypes\u003c/code\u003e again, showing its role in search response facet structuring.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFacetValue\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eFacetValue\u003c/code\u003e class include \u003ccode\u003eCount\u003c/code\u003e for the number of items with this facet, \u003ccode\u003eValue\u003c/code\u003e for the text value of the facet, and \u003ccode\u003eInterval\u003c/code\u003e for specifying a numerical range, alongside \u003ccode\u003eMinValue\u003c/code\u003e and \u003ccode\u003eMaxValue\u003c/code\u003e for the min and max values in the range.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all the different versions of the api and their links, ranging from \u003ccode\u003e2.12.0\u003c/code\u003e to \u003ccode\u003e1.0.0\u003c/code\u003e, with \u003ccode\u003e2.12.0\u003c/code\u003e being the latest, while \u003ccode\u003e2.9.0\u003c/code\u003e is the current version the documentation is specifically for.\u003c/p\u003e\n"]]],[],null,[]]