Discovery Engine v1beta API - Class SearchResponse.Types.OneBoxResult (1.0.0-beta18)

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.

Inheritance

object > SearchResponse.Types.OneBoxResult

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

OneBoxResult()

public OneBoxResult()

OneBoxResult(OneBoxResult)

public OneBoxResult(SearchResponse.Types.OneBoxResult other)
Parameter
Name Description
other SearchResponseTypesOneBoxResult

Properties

OneBoxType

public SearchResponse.Types.OneBoxResult.Types.OneBoxType OneBoxType { get; set; }

The type of One Box result.

Property Value
Type Description
SearchResponseTypesOneBoxResultTypesOneBoxType

SearchResults

public RepeatedField<SearchResponse.Types.SearchResult> SearchResults { get; }

The search results for this One Box.

Property Value
Type Description
RepeatedFieldSearchResponseTypesSearchResult