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

The response for calculating conversation statistics.

Attributes

  • averageDuration (type: String.t, default: nil) - The average duration of all conversations. The average is calculated using only conversations that have a time duration.
  • averageTurnCount (type: integer(), default: nil) - The average number of turns per conversation.
  • conversationCount (type: integer(), default: nil) - The total number of conversations.
  • conversationCountTimeSeries (type: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries.t, default: nil) - A time series representing the count of conversations created over time that match that requested filter criteria.
  • customHighlighterMatches (type: map(), default: nil) - A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.
  • issueMatches (type: map(), default: nil) - A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects//locations//issueModels//issues/ Deprecated, use issue_matches_stats field instead.
  • issueMatchesStats (type: %{optional(String.t) => GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats.t}, default: nil) - A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects//locations//issueModels//issues/
  • smartHighlighterMatches (type: map(), default: nil) - A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1CalculateStatsResponse{
    averageDuration: String.t() | nil,
    averageTurnCount: integer() | nil,
    conversationCount: integer() | nil,
    conversationCountTimeSeries:
      GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries.t()
      | nil,
    customHighlighterMatches: map() | nil,
    issueMatches: map() | nil,
    issueMatchesStats:
      %{
        optional(String.t()) =>
          GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats.t()
      }
      | nil,
    smartHighlighterMatches: map() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.