public sealed class 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-03-21 UTC."],[[["This document provides reference documentation for the `Rule.Types.DoNotAssociateAction` class within the Google Cloud Retail v2 API, covering versions from 1.0.0 to 2.12.0."],["The `DoNotAssociateAction` class is used to prevent certain terms from being associated with other terms during search operations, such as preventing \"gShoe\" and \"cheap\" from being associated."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class."],["Key properties of the `DoNotAssociateAction` class include `DoNotAssociateTerms`, which specifies terms that should not be associated, and `QueryTerms`, specifying terms that will not have do_not_associate_terms applied if present in the search query."],["The class has a `Terms` property that will be deprecated post-migration, as well as two constructors that are included, the default and one accepting the `Rule.Types.DoNotAssociateAction` type as a parameter."]]],[]]