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\u003eThe latest version of the \u003ccode\u003eSearchResponse.Types.Facet\u003c/code\u003e class in the Discovery Engine v1 API is 1.6.0, with previous versions available, such as 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchResponse.Types.Facet\u003c/code\u003e class represents a facet result, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing interfaces like \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\u003eThis class includes properties like \u003ccode\u003eDynamicFacet\u003c/code\u003e (a boolean indicating dynamic generation), \u003ccode\u003eKey\u003c/code\u003e (a string for the facet's identifier), and \u003ccode\u003eValues\u003c/code\u003e (a collection of \u003ccode\u003eFacetValue\u003c/code\u003e objects).\u003c/p\u003e\n"],["\u003cp\u003eConstructors for \u003ccode\u003eFacet\u003c/code\u003e are available to initialize an instance or to create a copy from another \u003ccode\u003eFacet\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSearchResponse.Types.Facet\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]