GoogleCloudRetailV2RuleOnewaySynonymsActionResponse

data class GoogleCloudRetailV2RuleOnewaySynonymsActionResponse(val onewayTerms: List<String>, val queryTerms: List<String>, val synonyms: List<String>)

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

Constructors

constructor(onewayTerms: List<String>, queryTerms: List<String>, synonyms: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Will be deprecated = true post migration;

Link copied to clipboard

Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.

Link copied to clipboard

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.