Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice.
Message representing a possible answer to the 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.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — A short string used as an identifier.
Returns
- (::String) — A short string used as an identifier.
#na_value
def na_value() -> ::Boolean
Returns
-
(::Boolean) — A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true
. If a question receives this answer, it will be excluded from any score calculations.
#na_value=
def na_value=(value) -> ::Boolean
Parameter
-
value (::Boolean) — A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true
. If a question receives this answer, it will be excluded from any score calculations.
Returns
-
(::Boolean) — A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true
. If a question receives this answer, it will be excluded from any score calculations.
#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.
#score
def score() -> ::Float
Returns
- (::Float) — Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
#score=
def score=(value) -> ::Float
Parameter
- value (::Float) — Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
Returns
- (::Float) — Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
#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.