Discovery Engine v1 API - Class SearchRequest.Types.ContentSearchSpec (1.0.0-beta03)

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 v1 API class SearchRequest.Types.ContentSearchSpec.

A specification for configuring the behavior of content search.

Inheritance

object > SearchRequest.Types.ContentSearchSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ContentSearchSpec()

public ContentSearchSpec()

ContentSearchSpec(ContentSearchSpec)

public ContentSearchSpec(SearchRequest.Types.ContentSearchSpec other)
Parameter
NameDescription
otherSearchRequestTypesContentSearchSpec

Properties

SnippetSpec

public SearchRequest.Types.ContentSearchSpec.Types.SnippetSpec SnippetSpec { get; set; }

If snippetSpec is not specified, snippets are not included in the search response.

Property Value
TypeDescription
SearchRequestTypesContentSearchSpecTypesSnippetSpec

SummarySpec

public SearchRequest.Types.ContentSearchSpec.Types.SummarySpec SummarySpec { get; set; }

If summarySpec is not specified, summaries are not included in the search response.

Property Value
TypeDescription
SearchRequestTypesContentSearchSpecTypesSummarySpec