public sealed class ReplacementAction : IMessage<Rule.Types.ReplacementAction>, IEquatable<Rule.Types.ReplacementAction>, IDeepCloneable<Rule.Types.ReplacementAction>, IBufferMessage, IMessage
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eReplacementAction\u003c/code\u003e class, part of Google.Cloud.Retail.V2, allows for replacing specific terms in a search query, and it is implemented as a sealed class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a variety of versions available, from 1.0.0 to 2.12.0, with version 2.12.0 being the latest available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReplacementAction\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe primary functionality of \u003ccode\u003eReplacementAction\u003c/code\u003e is defined by the \u003ccode\u003eQueryTerms\u003c/code\u003e property (terms to be replaced) and the \u003ccode\u003eReplacementTerm\u003c/code\u003e property (the term replacing them).\u003c/p\u003e\n"],["\u003cp\u003eA deprecated \u003ccode\u003eTerm\u003c/code\u003e property exists within the class, and will be phased out after a migration.\u003c/p\u003e\n"]]],[],null,[]]