Class SearchRequest.Types.QueryExpansionSpec (1.2.0)

public sealed class QueryExpansionSpec : IMessage<SearchRequest.Types.QueryExpansionSpec>, IEquatable<SearchRequest.Types.QueryExpansionSpec>, IDeepCloneable<SearchRequest.Types.QueryExpansionSpec>, IBufferMessage, IMessage

Specification to determine under which conditions query expansion should occur.

Inheritance

Object > SearchRequest.Types.QueryExpansionSpec

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

QueryExpansionSpec()

public QueryExpansionSpec()

QueryExpansionSpec(SearchRequest.Types.QueryExpansionSpec)

public QueryExpansionSpec(SearchRequest.Types.QueryExpansionSpec other)
Parameter
NameDescription
otherSearchRequest.Types.QueryExpansionSpec

Properties

Condition

public SearchRequest.Types.QueryExpansionSpec.Types.Condition Condition { get; set; }

The condition under which query expansion should occur. Default to [Condition.DISABLED][google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition.DISABLED].

Property Value
TypeDescription
SearchRequest.Types.QueryExpansionSpec.Types.Condition