public sealed class 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 documentation for the `Rule.Types.ReplacementAction` class within the Google Cloud Retail V2 API, detailing its purpose in replacing terms within a search query."],["The `ReplacementAction` class, part of the `Google.Cloud.Retail.V2` namespace, allows for the substitution of up to 100 `QueryTerms` with a designated `ReplacementTerm`."],["The provided content includes a list of available versions of this class, ranging from version 1.0.0 to the latest version, 2.12.0, with the document pertaining to version 2.3.0."],["`ReplacementAction` implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has properties like `QueryTerms`, `ReplacementTerm` and `Term`."],["There are two constructors for `ReplacementAction`; a default one and one that takes another `Rule.Types.ReplacementAction` as a parameter."]]],[]]