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.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 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.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 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
.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 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.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_value ⇒ ::Float
Returns Numerical value.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 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.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#score ⇒ ::Float (readonly)
Returns Output only. Numerical score of the answer.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#str_value ⇒ ::String
Returns String value.
1968 1969 1970 1971 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1968 class AnswerValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |