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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasIntervalDuration
clearIntervalDuration
setIntervalDuration
The duration of each interval.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval>
|
Returns | |
---|---|
Type | Description |
$this |