public sealed class Rule.Types.DoNotAssociateAction : IMessage<Rule.Types.DoNotAssociateAction>, IEquatable<Rule.Types.DoNotAssociateAction>, IDeepCloneable<Rule.Types.DoNotAssociateAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Rule.Types.DoNotAssociateAction.
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 documentation page covers the \u003ccode\u003eRule.Types.DoNotAssociateAction\u003c/code\u003e class within the Google Cloud Retail v2 API, which is designed to prevent certain search terms from being associated with others.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.12.0, with a comprehensive list of previous versions available, including version 2.11.0, which is highlighted, and goes back as far as version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRule.Types.DoNotAssociateAction\u003c/code\u003e implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating instances, including a default constructor and one that accepts another \u003ccode\u003eDoNotAssociateAction\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eDoNotAssociateTerms\u003c/code\u003e and \u003ccode\u003eQueryTerms\u003c/code\u003e, which manage lists of terms that should not be associated and terms from search queries respectively, and both support up to 100 terms.\u003c/p\u003e\n"]]],[],null,[]]