public sealed class DoNotAssociateAction : IMessage<Rule.Types.DoNotAssociateAction>, IEquatable<Rule.Types.DoNotAssociateAction>, IDeepCloneable<Rule.Types.DoNotAssociateAction>, IBufferMessage, IMessage
Prevents query_term from being associated with specified terms during
search.
Example: Don't associate "gShoe" and "cheap".
[[["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 details the \u003ccode\u003eDoNotAssociateAction\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, which is designed to prevent specific search terms from being associated with others.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.12.0, with a history of versions going back to 1.0.0, all relating to the \u003ccode\u003eDoNotAssociateAction\u003c/code\u003e functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDoNotAssociateAction\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, and is inherited from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eDoNotAssociateTerms\u003c/code\u003e, \u003ccode\u003eQueryTerms\u003c/code\u003e, and the deprecated \u003ccode\u003eTerms\u003c/code\u003e, which manage the terms that should not be associated during a search, and terms from the query, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default \u003ccode\u003eDoNotAssociateAction()\u003c/code\u003e constructor, and another constructor \u003ccode\u003eDoNotAssociateAction(Rule.Types.DoNotAssociateAction other)\u003c/code\u003e that takes an existing \u003ccode\u003eRule.Types.DoNotAssociateAction\u003c/code\u003e as a parameter to create a new instance.\u003c/p\u003e\n"]]],[],null,[]]