public sealed class SearchResponse.Types.Facet : IMessage<SearchResponse.Types.Facet>, IEquatable<SearchResponse.Types.Facet>, IDeepCloneable<SearchResponse.Types.Facet>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.Facet.
The key for this facet. For example, "colors" or "price". It matches
[SearchRequest.FacetSpec.FacetKey.key][google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKey.key].
[[["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 documentation page covers the \u003ccode\u003eSearchResponse.Types.Facet\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchResponse.Types.Facet\u003c/code\u003e class represents a facet result, which is a structured way to present categorized search results.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces: \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 buffered messaging.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eDynamicFacet\u003c/code\u003e, indicating if the facet is generated dynamically, \u003ccode\u003eKey\u003c/code\u003e, representing the facet's identifier (e.g., "colors"), and \u003ccode\u003eValues\u003c/code\u003e, which holds the facet's specific values.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes constructors for creating \u003ccode\u003eFacet\u003c/code\u003e objects, one for default creation and another to create a copy of another existing \u003ccode\u003eFacet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]