View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue (google_api_discovery_engine v0.22.0)

A facet value which contains value names and their count.

Attributes

  • count (type: String.t, default: nil) - Number of items that have this facet value.
  • interval (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaInterval.t, default: nil) - Interval value for a facet, such as 10, 20) for facet "price". It matches [SearchRequest.FacetSpec.FacetKey.intervals.
  • value (type: String.t, default: nil) - Text value of a facet, such as "Black" for facet "colors".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue{
    count: String.t() | nil,
    interval:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaInterval.t()
      | nil,
    value: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.