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
-
(::Boolean) — Boolean value.
Note: The following fields are mutually exclusive:
bool_value
,str_value
,num_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bool_value=
def bool_value=(value) -> ::Boolean
-
value (::Boolean) — Boolean value.
Note: The following fields are mutually exclusive:
bool_value
,str_value
,num_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — Boolean value.
Note: The following fields are mutually exclusive:
bool_value
,str_value
,num_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#key
def key() -> ::String
- (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
#key=
def key=(value) -> ::String
- value (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
- (::String) — A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
#na_value
def na_value() -> ::Boolean
-
(::Boolean) — A value of "Not Applicable (N/A)". Should only ever be
true
.Note: The following fields are mutually exclusive:
na_value
,str_value
,num_value
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#na_value=
def na_value=(value) -> ::Boolean
-
value (::Boolean) — A value of "Not Applicable (N/A)". Should only ever be
true
.Note: The following fields are mutually exclusive:
na_value
,str_value
,num_value
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — A value of "Not Applicable (N/A)". Should only ever be
true
.Note: The following fields are mutually exclusive:
na_value
,str_value
,num_value
,bool_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#normalized_score
def normalized_score() -> ::Float
- (::Float) — Output only. Normalized score of the questions. Calculated as score / potential_score.
#num_value
def num_value() -> ::Float
-
(::Float) — Numerical value.
Note: The following fields are mutually exclusive:
num_value
,str_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#num_value=
def num_value=(value) -> ::Float
-
value (::Float) — Numerical value.
Note: The following fields are mutually exclusive:
num_value
,str_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Numerical value.
Note: The following fields are mutually exclusive:
num_value
,str_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#potential_score
def potential_score() -> ::Float
- (::Float) — Output only. The maximum potential score of the question.
#score
def score() -> ::Float
- (::Float) — Output only. Numerical score of the answer.
#str_value
def str_value() -> ::String
-
(::String) — String value.
Note: The following fields are mutually exclusive:
str_value
,num_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#str_value=
def str_value=(value) -> ::String
-
value (::String) — String value.
Note: The following fields are mutually exclusive:
str_value
,num_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — String value.
Note: The following fields are mutually exclusive:
str_value
,num_value
,bool_value
,na_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.