Contact Center AI Insights v1 API - Class CalculateStatsResponse (2.1.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
Int32

ConversationCount

public int ConversationCount { get; set; }

The total number of conversations.

Property Value
TypeDescription
Int32

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
CalculateStatsResponse.Types.TimeSeries

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
MapField<String, Int32>

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
MapField<String, Int32>

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
MapField<String, IssueModelLabelStats.Types.IssueStats>

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
MapField<String, Int32>