Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class QaAnswer.
An answer to a QaQuestion.
Generated from protobuf message google.cloud.contactcenterinsights.v1.QaAnswer
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ qa_question
string
The QaQuestion answered by this answer.
↳ conversation
string
The conversation the answer applies to.
↳ question_body
string
Question text. E.g., "Did the agent greet the customer?"
↳ answer_value
↳ tags
array
User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.
↳ answer_sources
getQaQuestion
The QaQuestion answered by this answer.
string
setQaQuestion
The QaQuestion answered by this answer.
var
string
$this
getConversation
The conversation the answer applies to.
string
setConversation
The conversation the answer applies to.
var
string
$this
getQuestionBody
Question text. E.g., "Did the agent greet the customer?"
string
setQuestionBody
Question text. E.g., "Did the agent greet the customer?"
var
string
$this
getAnswerValue
The main answer value, incorporating any manual edits if they exist.
hasAnswerValue
clearAnswerValue
setAnswerValue
The main answer value, incorporating any manual edits if they exist.
$this
getTags
User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.
setTags
User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.
var
string[]
$this
getAnswerSources
List of all individual answers given to the question.
setAnswerSources
List of all individual answers given to the question.
$this