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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eRule.Types.IgnoreAction\u003c/code\u003e class within the Google Cloud Retail V2 API, covering versions from 1.0.0 to the latest 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIgnoreAction\u003c/code\u003e class is used to prevent specific terms in a search query from being used during a search, such as excluding the term "shoddy" in the example given.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIgnoreAction\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a property called \u003ccode\u003eIgnoreTerms\u003c/code\u003e, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of strings, representing the list of terms that should be ignored in the search query.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class: a default constructor \u003ccode\u003eIgnoreAction()\u003c/code\u003e and one with a parameter that accepts a \u003ccode\u003eRule.Types.IgnoreAction\u003c/code\u003e, which is \u003ccode\u003eIgnoreAction(Rule.Types.IgnoreAction other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]