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 page provides reference documentation for the `Rule.Types.ReplacementAction` class within the Google Cloud Retail V2 API, detailing its purpose in replacing terms within search queries."],["The `Rule.Types.ReplacementAction` class is part of the Google.Cloud.Retail.V2 namespace and is implemented in the Google.Cloud.Retail.V2.dll assembly."],["The API offers versions ranging from 1.0.0 to the latest version 2.12.0, with the current version of this page highlighting version 2.5.0."],["Key properties of the class include `QueryTerms`, which specifies the terms to be replaced, and `ReplacementTerm`, indicating the new term that will replace the listed `QueryTerms`."],["This class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` which allows it to be used across different areas."]]],[]]