Class: Google::Cloud::ContactCenterInsights::V1::QaAnswer::AnswerValue

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 for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Boolean

Returns Boolean value.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Float)

    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.

Returns:

  • (::Float)

    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.

Returns:

  • (::Float)

    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.

Returns:

  • (::Float)

    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.

Returns:

  • (::String)

    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