GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs

data class GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs(val onewayTerms: Output<List<String>>? = null, val queryTerms: Output<List<String>>? = null, val synonyms: Output<List<String>>? = null) : ConvertibleToJava<GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs>

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

fun GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs(onewayTerms: Output<List<String>>? = null, queryTerms: Output<List<String>>? = null, synonyms: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs

Properties

Link copied to clipboard
val onewayTerms: Output<List<String>>? = null

Will be deprecated = true post migration;

Link copied to clipboard
val queryTerms: Output<List<String>>? = null

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
val synonyms: Output<List<String>>? = null

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