public sealed class SearchResponse.Types.OneBoxResult : IMessage<SearchResponse.Types.OneBoxResult>, IEquatable<SearchResponse.Types.OneBoxResult>, IDeepCloneable<SearchResponse.Types.OneBoxResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.OneBoxResult.
OneBoxResult is a holder for all results of specific type that we want
to display in UI differently.
[[["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\u003e\u003ccode\u003eSearchResponse.Types.OneBoxResult\u003c/code\u003e is a class within the Discovery Engine v1beta API, designed to hold results of a specific type for differentiated UI display.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor methods available, one empty and one that accepts an existing \u003ccode\u003eSearchResponse.Types.OneBoxResult\u003c/code\u003e to create a new object.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes the \u003ccode\u003eOneBoxType\u003c/code\u003e property, which denotes the type of One Box result and the \u003ccode\u003eSearchResults\u003c/code\u003e property, which contains a list of \u003ccode\u003eSearchResult\u003c/code\u003e objects associated with this One Box.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly for this class is \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e and it belongs to the namespace \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class SearchResponse.Types.OneBoxResult (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult) \n\n public sealed class SearchResponse.Types.OneBoxResult : IMessage\u003cSearchResponse.Types.OneBoxResult\u003e, IEquatable\u003cSearchResponse.Types.OneBoxResult\u003e, IDeepCloneable\u003cSearchResponse.Types.OneBoxResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.OneBoxResult.\n\nOneBoxResult is a holder for all results of specific type that we want\nto display in UI differently. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchResponse.Types.OneBoxResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types)[OneBoxResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types)[OneBoxResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types)[OneBoxResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### OneBoxResult()\n\n public OneBoxResult()\n\n### OneBoxResult(OneBoxResult)\n\n public OneBoxResult(SearchResponse.Types.OneBoxResult other)\n\nProperties\n----------\n\n### OneBoxType\n\n public SearchResponse.Types.OneBoxResult.Types.OneBoxType OneBoxType { get; set; }\n\nThe type of One Box result.\n\n### SearchResults\n\n public RepeatedField\u003cSearchResponse.Types.SearchResult\u003e SearchResults { get; }\n\nThe search results for this One Box."]]