Google Cloud Contact Center Insights V1 Client - Class AnswerSource (2.3.3)

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

A question may have multiple answers from varying sources, one of which becomes the "main" answer above. AnswerSource represents each individual answer.

Generated from protobuf message google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ QaAnswer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_type int

What created the answer.

↳ answer_value AnswerValue

The answer value from this source.

getSourceType

What created the answer.

Returns
Type Description
int Enum of type SourceType.

setSourceType

What created the answer.

Parameter
Name Description
var int

Enum of type SourceType.

Returns
Type Description
$this

getAnswerValue

The answer value from this source.

Returns
Type Description
AnswerValue|null

hasAnswerValue

clearAnswerValue

setAnswerValue

The answer value from this source.

Parameter
Name Description
var AnswerValue
Returns
Type Description
$this