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, covering versions from 1.0.0 to the latest 2.12.0."],["The `ReplacementAction` class is used to replace terms in a search query, allowing multiple replacement candidates to be specified, where all `query_terms` are replaced by a singular replacement term."],["The class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enhancing its functionality within the .NET environment."],["Key properties of `ReplacementAction` include `QueryTerms`, a list of terms to be replaced, and `ReplacementTerm`, the term that will replace the specified `QueryTerms`."],["There is a deprecated `Term` property that will no longer be in use post-migration."]]],[]]