View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsRequest (google_api_contact_center_insights v0.12.0)

The request for querying metrics.

Attributes

  • dimensions (type: list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1Dimension.t), default: nil) - The dimensions that determine the grouping key for the query. Defaults to no dimension if this field is unspecified. If a dimension is specified, its key must also be specified. Each dimension's key must be unique. If a time granularity is also specified, metric values in the dimension will be bucketed by this granularity. Up to one dimension is supported for now.
  • filter (type: String.t, default: nil) - Required. Filter to select a subset of conversations to compute the metrics. Must specify a window of the conversation create time to compute the metrics. The returned metrics will be from the range [DATE(starting create time), DATE(ending create time)).
  • measureMask (type: String.t, default: nil) - Measures to return. Defaults to all measures if this field is unspecified. A valid mask should traverse from the measure field from the response. For example, a path from a measure mask to get the conversation count is "conversation_measure.count".
  • timeGranularity (type: String.t, default: nil) - The time granularity of each data point in the time series. Defaults to NONE if this field is unspecified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsRequest{
    dimensions:
      [
        GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1Dimension.t()
      ]
      | nil,
    filter: String.t() | nil,
    measureMask: String.t() | nil,
    timeGranularity: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.