View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2ProductAttributeValue (google_api_retail v0.19.1)

Product attribute which structured by an attribute name and value. This structure is used in conversational search filters and answers. For example, if we have name=color and value=red, this means that the color is red.

Attributes

  • name (type: String.t, default: nil) - The attribute name.
  • value (type: String.t, default: nil) - The attribute value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2ProductAttributeValue{
  name: String.t() | nil,
  value: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.