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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `Rule.Types.IgnoreAction` class within the Google Cloud Retail V2 API, covering versions from 1.0.0 to the latest 2.12.0."],["The `IgnoreAction` 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."],["The `IgnoreAction` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class contains a property called `IgnoreTerms`, which is a `RepeatedField` of strings, representing the list of terms that should be ignored in the search query."],["There are two constructors for the class: a default constructor `IgnoreAction()` and one with a parameter that accepts a `Rule.Types.IgnoreAction`, which is `IgnoreAction(Rule.Types.IgnoreAction other)`."]]],[]]