# Google Cloud Contact Center Insights V1 Client - Class Interval (2.4.2)

2.4.2 (latest) 2.4.1 2.3.3 2.2.1 2.1.1 2.0.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.3 Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Interval.

A single interval in a time series.

Generated from protobuf message `google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval`

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1 \\ CalculateStatsResponse \\ TimeSeries

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The start time of this interval. |
| `↳ conversation_count` | `int` The number of conversations created in this interval. |

### getStartTime

The start time of this interval.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

The start time of this interval.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConversationCount

The number of conversations created in this interval.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setConversationCount

The number of conversations created in this interval.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |