class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
The response for calculating conversation statistics.
Attributes
The average duration of all conversations. The average is calculated using only conversations that have a time duration. Corresponds to the JSON property `averageDuration` @return [String]
The average number of turns per conversation. Corresponds to the JSON property `averageTurnCount` @return [Fixnum]
The total number of conversations. Corresponds to the JSON property `conversationCount` @return [Fixnum]
A time series representing conversations over time. Corresponds to the JSON property `conversationCountTimeSeries` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries]
A map associating each custom highlighter resource name with its respective number of matches in the set of conversations. Corresponds to the JSON property `customHighlighterMatches` @return [Hash<String,Fixnum>]
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/` Corresponds to the JSON property `issueMatches` @return [Hash<String,Fixnum>]
A map associating each smart highlighter display name with its respective number of matches in the set of conversations. Corresponds to the JSON property `smartHighlighterMatches` @return [Hash<String,Fixnum>]
Public Class Methods
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 316 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 321 def update!(**args) @average_duration = args[:average_duration] if args.key?(:average_duration) @average_turn_count = args[:average_turn_count] if args.key?(:average_turn_count) @conversation_count = args[:conversation_count] if args.key?(:conversation_count) @conversation_count_time_series = args[:conversation_count_time_series] if args.key?(:conversation_count_time_series) @custom_highlighter_matches = args[:custom_highlighter_matches] if args.key?(:custom_highlighter_matches) @issue_matches = args[:issue_matches] if args.key?(:issue_matches) @smart_highlighter_matches = args[:smart_highlighter_matches] if args.key?(:smart_highlighter_matches) end