Retail v2 API - Class Rule.Types.DoNotAssociateAction (2.3.0)

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".

Inheritance

Object > Rule.Types.DoNotAssociateAction

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

DoNotAssociateAction()

public DoNotAssociateAction()

DoNotAssociateAction(Rule.Types.DoNotAssociateAction)

public DoNotAssociateAction(Rule.Types.DoNotAssociateAction other)
Parameter
NameDescription
otherRule.Types.DoNotAssociateAction

Properties

DoNotAssociateTerms

public RepeatedField<string> DoNotAssociateTerms { get; }

Cannot contain duplicates or the query term. Can specify up to 100 terms.

Property Value
TypeDescription
RepeatedField<System.String>

QueryTerms

public RepeatedField<string> QueryTerms { get; }

Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

Property Value
TypeDescription
RepeatedField<System.String>

Terms

public RepeatedField<string> Terms { get; }

Will be [deprecated = true] post migration;

Property Value
TypeDescription
RepeatedField<System.String>