Google Cloud Contact Center Insights V1 Client - Class ConversationMeasure (2.2.1)

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

The measure related to conversations.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ QueryMetricsResponse \ Slice \ DataPoint

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conversation_count int

The conversation count.

↳ average_silence_percentage float

The average silence percentage.

↳ average_duration Google\Protobuf\Duration

The average duration.

↳ average_turn_count float

The average turn count.

↳ average_agent_sentiment_score float

The average agent's sentiment score.

↳ average_client_sentiment_score float

The average client's sentiment score.

↳ average_customer_satisfaction_rating float

The average customer satisfaction rating.

↳ average_qa_normalized_score float

Average QA normalized score. Will exclude 0's in average calculation.

↳ qa_tag_scores array<ConversationMeasure\QaTagScore>

Average QA normalized score for all the tags.

↳ average_qa_question_normalized_score float

Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard. Will be only populated if the request specifies a dimension of QA_QUESTION_ID.

getConversationCount

The conversation count.

Returns
Type Description
int

hasConversationCount

clearConversationCount

setConversationCount

The conversation count.

Parameter
Name Description
var int
Returns
Type Description
$this

getAverageSilencePercentage

The average silence percentage.

Returns
Type Description
float

hasAverageSilencePercentage

clearAverageSilencePercentage

setAverageSilencePercentage

The average silence percentage.

Parameter
Name Description
var float
Returns
Type Description
$this

getAverageDuration

The average duration.

Returns
Type Description
Google\Protobuf\Duration|null

hasAverageDuration

clearAverageDuration

setAverageDuration

The average duration.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getAverageTurnCount

The average turn count.

Returns
Type Description
float

hasAverageTurnCount

clearAverageTurnCount

setAverageTurnCount

The average turn count.

Parameter
Name Description
var float
Returns
Type Description
$this

getAverageAgentSentimentScore

The average agent's sentiment score.

Returns
Type Description
float

hasAverageAgentSentimentScore

clearAverageAgentSentimentScore

setAverageAgentSentimentScore

The average agent's sentiment score.

Parameter
Name Description
var float
Returns
Type Description
$this

getAverageClientSentimentScore

The average client's sentiment score.

Returns
Type Description
float

hasAverageClientSentimentScore

clearAverageClientSentimentScore

setAverageClientSentimentScore

The average client's sentiment score.

Parameter
Name Description
var float
Returns
Type Description
$this

getAverageCustomerSatisfactionRating

The average customer satisfaction rating.

Returns
Type Description
float

hasAverageCustomerSatisfactionRating

clearAverageCustomerSatisfactionRating

setAverageCustomerSatisfactionRating

The average customer satisfaction rating.

Parameter
Name Description
var float
Returns
Type Description
$this

getAverageQaNormalizedScore

Average QA normalized score.

Will exclude 0's in average calculation.

Returns
Type Description
float

hasAverageQaNormalizedScore

clearAverageQaNormalizedScore

setAverageQaNormalizedScore

Average QA normalized score.

Will exclude 0's in average calculation.

Parameter
Name Description
var float
Returns
Type Description
$this

getQaTagScores

Average QA normalized score for all the tags.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQaTagScores

Average QA normalized score for all the tags.

Parameter
Name Description
var array<ConversationMeasure\QaTagScore>
Returns
Type Description
$this

getAverageQaQuestionNormalizedScore

Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard.

Will be only populated if the request specifies a dimension of QA_QUESTION_ID.

Returns
Type Description
float

hasAverageQaQuestionNormalizedScore

clearAverageQaQuestionNormalizedScore

setAverageQaQuestionNormalizedScore

Average QA normalized score averaged for questions averaged across all revisions of the parent scorecard.

Will be only populated if the request specifies a dimension of QA_QUESTION_ID.

Parameter
Name Description
var float
Returns
Type Description
$this