Discovery Engine v1beta API - Class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec (1.0.0-beta06)

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.

Inheritance

object > SearchRequest.Types.ContentSearchSpec.Types.SummarySpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SummarySpec()

public SummarySpec()

SummarySpec(SummarySpec)

public SummarySpec(SearchRequest.Types.ContentSearchSpec.Types.SummarySpec other)
Parameter
NameDescription
otherSearchRequestTypesContentSearchSpecTypesSummarySpec

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
TypeDescription
int