public sealed class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec : IMessage<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec>, IEquatable<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec>, IDeepCloneable<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.
The specification that configs the summary in the search response.
Implements
IMessageSearchRequestTypesContentSearchSpecTypesSummarySpec, IEquatableSearchRequestTypesContentSearchSpecTypesSummarySpec, IDeepCloneableSearchRequestTypesContentSearchSpecTypesSummarySpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
SummarySpec()
public SummarySpec()
SummarySpec(SummarySpec)
public SummarySpec(SearchRequest.Types.ContentSearchSpec.Types.SummarySpec other)
Parameter | |
---|---|
Name | Description |
other | SearchRequestTypesContentSearchSpecTypesSummarySpec |
Properties
SummaryResultCount
public int SummaryResultCount { get; set; }
The number of top results the summary should be generated from. If the number of returned results is less than summary_result_count, then the summary would be derived from all the results; otherwise, the summary would be derived from the top results.
At most 5 results can be used for generating summary.
Property Value | |
---|---|
Type | Description |
int |