Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QaAnswer.
An answer to a QaQuestion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_sources
def answer_sources() -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerSource>
Returns
- (::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerSource>) — List of all individual answers given to the question.
#answer_sources=
def answer_sources=(value) -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerSource>
Parameter
- value (::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerSource>) — List of all individual answers given to the question.
Returns
- (::Array<::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerSource>) — List of all individual answers given to the question.
#answer_value
def answer_value() -> ::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue
Returns
- (::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue) — The main answer value, incorporating any manual edits if they exist.
#answer_value=
def answer_value=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue) — The main answer value, incorporating any manual edits if they exist.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue) — The main answer value, incorporating any manual edits if they exist.
#conversation
def conversation() -> ::String
Returns
- (::String) — The conversation the answer applies to.
#conversation=
def conversation=(value) -> ::String
Parameter
- value (::String) — The conversation the answer applies to.
Returns
- (::String) — The conversation the answer applies to.
#qa_question
def qa_question() -> ::String
Returns
- (::String) — The QaQuestion answered by this answer.
#qa_question=
def qa_question=(value) -> ::String
Parameter
- value (::String) — The QaQuestion answered by this answer.
Returns
- (::String) — The QaQuestion answered by this answer.
#question_body
def question_body() -> ::String
Returns
- (::String) — Question text. E.g., "Did the agent greet the customer?"
#question_body=
def question_body=(value) -> ::String
Parameter
- value (::String) — Question text. E.g., "Did the agent greet the customer?"
Returns
- (::String) — Question text. E.g., "Did the agent greet the customer?"
#tags
def tags() -> ::Array<::String>
Returns
- (::Array<::String>) — 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.
#tags=
def tags=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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.
Returns
- (::Array<::String>) — 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.