Contact Center AI Insights v1 API - Class CalculateStatsResponse (2.16.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
Name Description
other CalculateStatsResponse

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
Type Description
Duration

AverageTurnCount

public int AverageTurnCount { get; set; }

The average number of turns per conversation.

Property Value
Type Description
int

ConversationCount

public int ConversationCount { get; set; }

The total number of conversations.

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
MapFieldstringint