Google Cloud Contact Center Insights V1 Client - Class TimeSeries (1.3.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class TimeSeries.

A time series representing conversations over time.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ interval_duration Google\Protobuf\Duration

The duration of each interval.

↳ points array<Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval>

An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.

getIntervalDuration

The duration of each interval.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasIntervalDuration

clearIntervalDuration

setIntervalDuration

The duration of each interval.

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

getPoints

An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPoints

An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window.

Parameter
NameDescription
var array<Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval>
Returns
TypeDescription
$this