View Source GoogleApi.CloudSearch.V1.Model.FacetResult (google_api_cloud_search v0.24.0)

Source specific facet response

Attributes

  • buckets (type: list(GoogleApi.CloudSearch.V1.Model.FacetBucket.t), default: nil) - FacetBuckets for values in response containing at least a single result with the corresponding filter.
  • objectType (type: String.t, default: nil) - Object type for which facet results are returned. Can be empty.
  • operatorName (type: String.t, default: nil) - The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
  • sourceName (type: String.t, default: nil) - Source name for which facet results are returned. Will not be empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.FacetResult{
  buckets: [GoogleApi.CloudSearch.V1.Model.FacetBucket.t()] | nil,
  objectType: String.t() | nil,
  operatorName: String.t() | nil,
  sourceName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.