Contact Center AI Insights v1 API - Class CalculateStatsResponse (2.12.0)

public sealed class CalculateStatsResponse : IMessage<CalculateStatsResponse>, IEquatable<CalculateStatsResponse>, IDeepCloneable<CalculateStatsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Contact Center AI Insights v1 API class CalculateStatsResponse.

The response for calculating conversation statistics.

Inheritance

object > CalculateStatsResponse

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

CalculateStatsResponse()

public CalculateStatsResponse()

CalculateStatsResponse(CalculateStatsResponse)

public CalculateStatsResponse(CalculateStatsResponse other)
Parameter
NameDescription
otherCalculateStatsResponse

Properties

AverageDuration

public Duration AverageDuration { get; set; }

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

Property Value
TypeDescription
Duration

AverageTurnCount

public int AverageTurnCount { get; set; }

The average number of turns per conversation.

Property Value
TypeDescription
int

ConversationCount

public int ConversationCount { get; set; }

The total number of conversations.

Property Value
TypeDescription
int

ConversationCountTimeSeries

public CalculateStatsResponse.Types.TimeSeries ConversationCountTimeSeries { get; set; }

A time series representing the count of conversations created over time that match that requested filter criteria.

Property Value
TypeDescription
CalculateStatsResponseTypesTimeSeries

CustomHighlighterMatches

public MapField<string, int> CustomHighlighterMatches { get; }

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

Property Value
TypeDescription
MapFieldstringint

IssueMatches

[Obsolete]
public MapField<string, int> IssueMatches { get; }

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID> Deprecated, use issue_matches_stats field instead.

Property Value
TypeDescription
MapFieldstringint

IssueMatchesStats

public MapField<string, IssueModelLabelStats.Types.IssueStats> IssueMatchesStats { get; }

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>

Property Value
TypeDescription
MapFieldstringIssueModelLabelStatsTypesIssueStats

SmartHighlighterMatches

public MapField<string, int> SmartHighlighterMatches { get; }

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

Property Value
TypeDescription
MapFieldstringint