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

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

hasStartTime

clearStartTime

setStartTime

The start time of this interval.

Parameter
Name Description
var 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