View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQuery (google_api_content_warehouse v0.4.0)

The histogram request.

Attributes

  • filters (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter.t, default: nil) - Optional. Filter the result of histogram query by the property names. It only works with histogram query count('FilterableProperties'). It is an optional. It will perform histogram on all the property names for all the document schemas. Setting this field will have a better performance.
  • histogramQuery (type: String.t, default: nil) - An expression specifies a histogram request against matching documents for searches. See SearchDocumentsRequest.histogram_queries for details about syntax.
  • requirePreciseResultSize (type: boolean(), default: nil) - Controls if the histogram query requires the return of a precise count. Enable this flag may adversely impact performance. Defaults to true.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQuery{
    filters:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter.t()
      | nil,
    histogramQuery: String.t() | nil,
    requirePreciseResultSize: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.