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

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.
  • objectType (type: String.t, default: nil) - Object type for which facet results are returned. Can be empty.
  • operatorName (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.