Class Rule.Types.DoNotAssociateAction (2.2.0)

Stay organized with collections Save and categorize content based on your preferences.
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".

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<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<String>

Terms

public RepeatedField<string> Terms { get; }

Will be [deprecated = true] post migration;

Property Value
TypeDescription
RepeatedField<String>