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

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

The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.

Generated from protobuf message google.cloud.contactcenterinsights.v1.QaScorecardResult

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

↳ qa_scorecard_revision string

The QaScorecardRevision scored by this result.

↳ conversation string

The conversation scored by this result.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp that the revision was created.

↳ agent_id string

ID of the agent that handled the conversation.

↳ qa_answers array<QaAnswer>

Set of QaAnswers represented in the result.

↳ score float

The overall numerical score of the result, incorporating any manual edits if they exist.

↳ potential_score float

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

↳ normalized_score float

The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.

↳ qa_tag_results array<QaScorecardResult\QaTagResult>

Collection of tags and their scores.

↳ score_sources array<QaScorecardResult\ScoreSource>

List of all individual score sets.

getName

Identifier. The name of the scorecard result.

Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

Returns
Type Description
string

setName

Identifier. The name of the scorecard result.

Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

Parameter
Name Description
var string
Returns
Type Description
$this

getQaScorecardRevision

The QaScorecardRevision scored by this result.

Returns
Type Description
string

setQaScorecardRevision

The QaScorecardRevision scored by this result.

Parameter
Name Description
var string
Returns
Type Description
$this

getConversation

The conversation scored by this result.

Returns
Type Description
string

setConversation

The conversation scored by this result.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The timestamp that the revision was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp that the revision was created.

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

getAgentId

ID of the agent that handled the conversation.

Returns
Type Description
string

setAgentId

ID of the agent that handled the conversation.

Parameter
Name Description
var string
Returns
Type Description
$this

getQaAnswers

Set of QaAnswers represented in the result.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQaAnswers

Set of QaAnswers represented in the result.

Parameter
Name Description
var array<QaAnswer>
Returns
Type Description
$this

getScore

The overall numerical score of the result, incorporating any manual edits if they exist.

Returns
Type Description
float

hasScore

clearScore

setScore

The overall numerical score of the result, incorporating any manual edits if they exist.

Parameter
Name Description
var float
Returns
Type Description
$this

getPotentialScore

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

Returns
Type Description
float

hasPotentialScore

clearPotentialScore

setPotentialScore

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

Parameter
Name Description
var float
Returns
Type Description
$this

getNormalizedScore

The normalized score, which is the score divided by the potential score.

Any manual edits are included if they exist.

Returns
Type Description
float

hasNormalizedScore

clearNormalizedScore

setNormalizedScore

The normalized score, which is the score divided by the potential score.

Any manual edits are included if they exist.

Parameter
Name Description
var float
Returns
Type Description
$this

getQaTagResults

Collection of tags and their scores.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQaTagResults

Collection of tags and their scores.

Parameter
Name Description
var array<QaScorecardResult\QaTagResult>
Returns
Type Description
$this

getScoreSources

List of all individual score sets.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setScoreSources

List of all individual score sets.

Parameter
Name Description
var array<QaScorecardResult\ScoreSource>
Returns
Type Description
$this