google_api_cloud_search v0.2.0 GoogleApi.CloudSearch.V1.Model.FacetOptions View Source

Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.

Attributes

  • numFacetBuckets (type: integer(), default: nil) - Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
  • objectType (type: String.t, default: nil) - If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.
  • operatorName (type: String.t, default: nil) - Name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
  • sourceName (type: String.t, default: nil) - Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudSearch.V1.Model.FacetOptions{
  numFacetBuckets: integer(),
  objectType: String.t(),
  operatorName: String.t(),
  sourceName: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.