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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time 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
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The start time of this interval.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getConversationCount

The number of conversations created in this interval.

Returns
TypeDescription
int

setConversationCount

The number of conversations created in this interval.

Parameter
NameDescription
var int
Returns
TypeDescription
$this