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".
Implements
IMessage<Rule.Types.DoNotAssociateAction>, IEquatable<Rule.Types.DoNotAssociateAction>, IDeepCloneable<Rule.Types.DoNotAssociateAction>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
DoNotAssociateAction()
public DoNotAssociateAction()
DoNotAssociateAction(Rule.Types.DoNotAssociateAction)
public DoNotAssociateAction(Rule.Types.DoNotAssociateAction other)
Parameter | |
---|---|
Name | Description |
other | Rule.Types.DoNotAssociateAction |
Properties
DoNotAssociateTerms
public RepeatedField<string> DoNotAssociateTerms { get; }
Cannot contain duplicates or the query term. Can specify up to 100 terms.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedField<String> |
Terms
public RepeatedField<string> Terms { get; }
Will be [deprecated = true] post migration;
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |