Class AnswerValue (1.23.2)

AnswerValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
str_value str
String value. This field is a member of oneof_ value.
num_value float
Numerical value. This field is a member of oneof_ value.
bool_value bool
Boolean value. This field is a member of oneof_ value.
na_value bool
A value of "Not Applicable (N/A)". Should only ever be true. This field is a member of oneof_ value.
key str
A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
score float
Output only. Numerical score of the answer. This field is a member of oneof_ _score.
potential_score float
Output only. The maximum potential score of the question. This field is a member of oneof_ _potential_score.
normalized_score float
Output only. Normalized score of the questions. Calculated as score / potential_score. This field is a member of oneof_ _normalized_score.