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"]],[["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-04 UTC."],[[["This documentation page covers the `SearchResponse.Types.Facet` class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0."],["The `SearchResponse.Types.Facet` class represents a facet result, which is a structured way to present categorized search results."],["This class inherits from `object` and implements several interfaces: `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, deep cloning, and buffered messaging."],["Key properties of this class include `DynamicFacet`, indicating if the facet is generated dynamically, `Key`, representing the facet's identifier (e.g., \"colors\"), and `Values`, which holds the facet's specific values."],["The documentation includes constructors for creating `Facet` objects, one for default creation and another to create a copy of another existing `Facet`."]]],[]]