Class: Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
Overview
Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.
Instance Attribute Summary collapse
-
#bool_value ⇒ ::Boolean
Boolean value.
-
#key ⇒ ::String
A short string used as an identifier.
-
#na_value ⇒ ::Boolean
A value of "Not Applicable (N/A)".
-
#normalized_score ⇒ ::Float
readonly
Output only.
-
#num_value ⇒ ::Float
Numerical value.
-
#potential_score ⇒ ::Float
readonly
Output only.
-
#score ⇒ ::Float
readonly
Output only.
-
#str_value ⇒ ::String
String value.
Instance Attribute Details
#bool_value ⇒ ::Boolean
Returns 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.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#key ⇒ ::String
Returns A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#na_value ⇒ ::Boolean
Returns 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.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#normalized_score ⇒ ::Float (readonly)
Returns Output only. Normalized score of the questions. Calculated as score / potential_score.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_value ⇒ ::Float
Returns 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.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#potential_score ⇒ ::Float (readonly)
Returns Output only. The maximum potential score of the question.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#score ⇒ ::Float (readonly)
Returns Output only. Numerical score of the answer.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#str_value ⇒ ::String
Returns 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.
2035 2036 2037 2038 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 2035 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |