Class: Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
Overview
Message representing a possible answer to the 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)".
-
#num_value ⇒ ::Float
Numerical value.
-
#score ⇒ ::Float
Numerical score of the answer, used for generating the overall score of a QaScorecardResult.
-
#str_value ⇒ ::String
String value.
Instance Attribute Details
#bool_value ⇒ ::Boolean
Returns Boolean value.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#key ⇒ ::String
Returns A short string used as an identifier.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#na_value ⇒ ::Boolean
Returns 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.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_value ⇒ ::Float
Returns Numerical value.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#score ⇒ ::Float
Returns Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#str_value ⇒ ::String
Returns String value.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1799 class AnswerChoice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |