class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction
Replace “gShoe” with “google shoe”.
All ‘query_terms` will be replaced with the replacement term. Example:
Replaces a term in the query. Multiple replacement candidates can be specified.
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @query_terms = args[:query_terms] if args.key?(:query_terms) @replacement_term = args[:replacement_term] if args.key?(:replacement_term) @term = args[:term] if args.key?(:term) end