View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue (google_api_discovery_engine v0.16.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.V1.Model.GoogleCloudDiscoveryengineV1Interval.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.V1.Model.GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue{
    count: String.t() | nil,
    interval:
      GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Interval.t()
      | nil,
    value: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.