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
-
(::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.
#key=
def key=(value) -> ::String
- value (::String) — A short string used as an identifier.
- (::String) — A short string used as an identifier.
#na_value
def na_value() -> ::Boolean
-
(::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.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)". If provided, this field may only
be set to
true
. If a question receives this answer, it will be excluded from any score calculations.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)". If provided, this field may only
be set to
true
. If a question receives this answer, it will be excluded from any score calculations.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.
#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.
#score
def score() -> ::Float
- (::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
- 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.
- (::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
-
(::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.