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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eRule.Types.DoNotAssociateAction\u003c/code\u003e class within the Google.Cloud.Retail.V2 API, detailing its functionality and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDoNotAssociateAction\u003c/code\u003e class is designed to prevent specific terms (\u003ccode\u003equery_term\u003c/code\u003e) from being associated with other specified terms during searches.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \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 \u003ccode\u003eDoNotAssociateAction\u003c/code\u003e class has properties such as \u003ccode\u003eDoNotAssociateTerms\u003c/code\u003e and \u003ccode\u003eQueryTerms\u003c/code\u003e, which are used to define the terms that should not be associated during a search, with the ability to specify up to 100 terms in each.\u003c/p\u003e\n"],["\u003cp\u003eThere are various versions of the \u003ccode\u003eRule.Types.DoNotAssociateAction\u003c/code\u003e class available, ranging from version 1.0.0 to the latest version 2.12.0, all of which can be accessed via different hyperlinks.\u003c/p\u003e\n"]]],[],null,[]]