Retail v2 API - Class Rule.Types.IgnoreAction (2.4.0)

public sealed class IgnoreAction : IMessage<Rule.Types.IgnoreAction>, IEquatable<Rule.Types.IgnoreAction>, IDeepCloneable<Rule.Types.IgnoreAction>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class Rule.Types.IgnoreAction.

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

Inheritance

Object > Rule.Types.IgnoreAction

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

IgnoreAction()

public IgnoreAction()

IgnoreAction(Rule.Types.IgnoreAction)

public IgnoreAction(Rule.Types.IgnoreAction other)
Parameter
NameDescription
otherRule.Types.IgnoreAction

Properties

IgnoreTerms

public RepeatedField<string> IgnoreTerms { get; }

Terms to ignore in the search query.

Property Value
TypeDescription
RepeatedField<String>