Class: Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bool_value::Boolean

Returns Boolean value.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::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.



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.

Returns:

  • (::Float)

    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.

Returns:

  • (::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.



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.

Returns:

  • (::String)

    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