Class GoogleCloudRetailV2RuleOnewaySynonymsAction
Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only.
query_terms
will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes".
"shoes" will not use a synonym of "sneakers".
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2RuleOnewaySynonymsAction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OnewayTerms
Will be [deprecated = true] post migration;
Declaration
[JsonProperty("onewayTerms")]
public virtual IList<string> OnewayTerms { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
QueryTerms
Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
Declaration
[JsonProperty("queryTerms")]
public virtual IList<string> QueryTerms { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Synonyms
Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
Declaration
[JsonProperty("synonyms")]
public virtual IList<string> Synonyms { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |