Google Cloud Contact Center Insights V1 Client - Class DataPoint (2.2.0)

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

A data point contains the metric values mapped to an interval.

Generated from protobuf message google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ QueryMetricsResponse \ Slice

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conversation_measure DataPoint\ConversationMeasure

The measure related to conversations.

↳ interval Google\Type\Interval

The interval that this data point represents. * * If this is the total data point, the interval is [starting create time, ending create time) from the request. * * If this a data point from the time series, the interval is [time, time + time granularity from the request).

getConversationMeasure

The measure related to conversations.

Returns
Type Description
DataPoint\ConversationMeasure|null

hasConversationMeasure

setConversationMeasure

The measure related to conversations.

Parameter
Name Description
var DataPoint\ConversationMeasure
Returns
Type Description
$this

getInterval

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).
Returns
Type Description
Google\Type\Interval|null

hasInterval

clearInterval

setInterval

The interval that this data point represents.

  • If this is the total data point, the interval is [starting create time, ending create time) from the request.
  • If this a data point from the time series, the interval is [time, time + time granularity from the request).
Parameter
Name Description
var Google\Type\Interval
Returns
Type Description
$this

getMeasure

Returns
Type Description
string