Class AnswerChoice (1.23.0)

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

Message representing a possible answer to the 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)". If provided, this field may only be set to true. If a question receives this answer, it will be excluded from any score calculations. This field is a member of oneof_ value.
key str
A short string used as an identifier.
score 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. This field is a member of oneof_ _score.