View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleTwowaySynonymsAction (google_api_retail v0.10.0)

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": "sneakers" will use a synonym of "shoes". "shoes" will use a synonym of "sneakers".

Attributes

  • synonyms (type: list(String.t), default: nil) - Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2RuleTwowaySynonymsAction{
  synonyms: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.