public sealed class Rule.Types.ReplacementAction : IMessage<Rule.Types.ReplacementAction>, IEquatable<Rule.Types.ReplacementAction>, IDeepCloneable<Rule.Types.ReplacementAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Rule.Types.ReplacementAction.
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `Rule.Types.ReplacementAction` class within the Google Cloud Retail v2 API, used for replacing search query terms."],["The `ReplacementAction` class allows defining multiple terms from a search query (`QueryTerms`) that will be replaced by a specified replacement term (`ReplacementTerm`)."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for compatibility and functionality."],["The documentation covers the class's constructors, including a default constructor and a constructor that takes another `ReplacementAction` object, and also details the properties, `QueryTerms`, `ReplacementTerm`, and `Term`."],["The webpage provides version specific documentation for this class, with links to the documentation of 20 different versions ranging from 1.0.0 to 2.12.0."]]],[]]