2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.0 1.3.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> CalculateStatsResponse

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CalculateStatsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CalculateStatsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CalculateStatsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ContactCenterInsights.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.md.txt)

## 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` |   |