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

The response for querying metrics.

Attributes

  • location (type: String.t, default: nil) - Required. The location of the data. "projects/{project}/locations/{location}"
  • macroAverageSlice (type: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice.t, default: nil) - The macro average slice contains aggregated averages across the selected dimension. i.e. if group_by agent is specified this field will contain the average across all agents. This field is only populated if the request specifies a Dimension.
  • slices (type: list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice.t), default: nil) - A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.
  • updateTime (type: DateTime.t, default: nil) - The metrics last update time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsResponse{
    location: String.t() | nil,
    macroAverageSlice:
      GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice.t()
      | nil,
    slices:
      [
        GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice.t()
      ]
      | nil,
    updateTime: DateTime.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.