View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleReplacementAction (google_api_retail v0.13.2)

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".

Attributes

  • queryTerms (type: list(String.t), default: nil) - Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
  • replacementTerm (type: String.t, default: nil) - Term that will be used for replacement.
  • term (type: String.t, default: nil) - Will be [deprecated = true] post migration;

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleReplacementAction{
  queryTerms: [String.t()] | nil,
  replacementTerm: String.t() | nil,
  term: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.