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 document provides reference information for the `Rule.Types.ReplacementAction` class within the Google Cloud Retail V2 API, detailing its purpose for replacing terms in search queries."],["The `Rule.Types.ReplacementAction` class allows for multiple replacement candidates, enabling the substitution of `query_terms` with a specified replacement term."],["The latest version of the class is 2.12.0, and the documentation lists a historical archive of previous releases, going as far back as version 1.0.0."],["`ReplacementAction` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits properties and methods from `object`."],["The class has properties such as `QueryTerms` and `ReplacementTerm`, which are used to define what query terms will be replaced, and what term will be replacing them respectively, alongside a `Term` property which is marked for deprecation."]]],[]]