Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue (v1.2.0)

Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue.

Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Boolean value.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Boolean value.
Returns
  • (::Boolean) — Boolean value.

#key

def key() -> ::String
Returns
  • (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
Returns
  • (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.

#na_value

def na_value() -> ::Boolean
Returns
  • (::Boolean) — A value of "Not Applicable (N/A)". Should only ever be true.

#na_value=

def na_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — A value of "Not Applicable (N/A)". Should only ever be true.
Returns
  • (::Boolean) — A value of "Not Applicable (N/A)". Should only ever be true.

#normalized_score

def normalized_score() -> ::Float
Returns
  • (::Float) — Output only. Normalized score of the questions. Calculated as score / potential_score.

#num_value

def num_value() -> ::Float
Returns
  • (::Float) — Numerical value.

#num_value=

def num_value=(value) -> ::Float
Parameter
  • value (::Float) — Numerical value.
Returns
  • (::Float) — Numerical value.

#potential_score

def potential_score() -> ::Float
Returns
  • (::Float) — Output only. The maximum potential score of the question.

#score

def score() -> ::Float
Returns
  • (::Float) — Output only. Numerical score of the answer.

#str_value

def str_value() -> ::String
Returns
  • (::String) — String value.

#str_value=

def str_value=(value) -> ::String
Parameter
  • value (::String) — String value.
Returns
  • (::String) — String value.