public sealed class SearchRequest.Types.ContentSearchSpec : IMessage<SearchRequest.Types.ContentSearchSpec>, IEquatable<SearchRequest.Types.ContentSearchSpec>, IDeepCloneable<SearchRequest.Types.ContentSearchSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchRequest.Types.ContentSearchSpec.
The specification that configs the desired behavior of the UCS content search.
Implements
IMessageSearchRequestTypesContentSearchSpec, IEquatableSearchRequestTypesContentSearchSpec, IDeepCloneableSearchRequestTypesContentSearchSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
ContentSearchSpec()
public ContentSearchSpec()
ContentSearchSpec(ContentSearchSpec)
public ContentSearchSpec(SearchRequest.Types.ContentSearchSpec other)
Parameter | |
---|---|
Name | Description |
other | SearchRequestTypesContentSearchSpec |
Properties
ExtractiveContentSpec
public SearchRequest.Types.ContentSearchSpec.Types.ExtractiveContentSpec ExtractiveContentSpec { get; set; }
If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
Property Value | |
---|---|
Type | Description |
SearchRequestTypesContentSearchSpecTypesExtractiveContentSpec |
SnippetSpec
public SearchRequest.Types.ContentSearchSpec.Types.SnippetSpec SnippetSpec { get; set; }
If there is no snippet spec provided, there will be no snippet in the search result.
Property Value | |
---|---|
Type | Description |
SearchRequestTypesContentSearchSpecTypesSnippetSpec |
SummarySpec
public SearchRequest.Types.ContentSearchSpec.Types.SummarySpec SummarySpec { get; set; }
If there is no summary spec provided, there will be no summary in the search response.
Property Value | |
---|---|
Type | Description |
SearchRequestTypesContentSearchSpecTypesSummarySpec |