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.

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.

Returns:

  • (::Boolean)

    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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

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.

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.

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.

    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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

class AnswerChoice
  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.

Returns:

  • (::Float)

    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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

class AnswerChoice
  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.

Returns:

  • (::String)

    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.



1858
1859
1860
1861
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1858

class AnswerChoice
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end