View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacet (google_api_retail v0.3.0)

A facet result.

Attributes

  • dynamicFacet (type: boolean(), default: nil) - Whether the facet is dynamically generated.
  • key (type: String.t, default: nil) - The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
  • values (type: list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue.t), default: nil) - The facet values for this field.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacet{
  dynamicFacet: boolean() | nil,
  key: String.t() | nil,
  values:
    [
      GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue.t()
    ]
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.