public sealed class OnewaySynonymsAction : IMessage<Rule.Types.OnewaySynonymsAction>, IEquatable<Rule.Types.OnewaySynonymsAction>, IDeepCloneable<Rule.Types.OnewaySynonymsAction>, IBufferMessage, IMessage
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage details the \u003ccode\u003eOnewaySynonymsAction\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, used for mapping terms to one-way synonyms in the context of retail search queries, meaning synonyms are only used one way.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnewaySynonymsAction\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties such as \u003ccode\u003eQueryTerms\u003c/code\u003e and \u003ccode\u003eSynonyms\u003c/code\u003e, which are both \u003ccode\u003eRepeatedField\u003c/code\u003e types used to define terms from search queries and their corresponding synonyms, with a capacity of up to 100 for each.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows the version history of the API, ranging from version 1.0.0 to the latest version, 2.12.0, all linking to documentation for \u003ccode\u003eOnewaySynonymsAction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOnewaySynonymsAction\u003c/code\u003e class contains two constructors, one parameterless and the other taking another \u003ccode\u003eOnewaySynonymsAction\u003c/code\u003e object to copy its value, and also contains a deprecated property \u003ccode\u003eOnewayTerms\u003c/code\u003e post migration.\u003c/p\u003e\n"]]],[],null,[]]