Class GoogleCloudRetailV2alphaRuleReplacementAction
Replaces a term in the query. Multiple replacement candidates can be specified. All query_terms
will be
replaced with the replacement term. Example: Replace "gShoe" with "google shoe".
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaRuleReplacementAction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
QueryTerms
Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
Declaration
[JsonProperty("queryTerms")]
public virtual IList<string> QueryTerms { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ReplacementTerm
Term that will be used for replacement.
Declaration
[JsonProperty("replacementTerm")]
public virtual string ReplacementTerm { get; set; }
Property Value
Type | Description |
---|---|
string |
Term
Will be [deprecated = true] post migration;
Declaration
[JsonProperty("term")]
public virtual string Term { get; set; }
Property Value
Type | Description |
---|---|
string |