AnswerValue

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

JSON representation
{
  "key": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "strValue": string,
  "numValue": number,
  "boolValue": boolean,
  "naValue": boolean,
  "skipValue": boolean
  // End of mutually exclusive fields.
  "score": number,
  "potentialScore": number,
  "normalizedScore": number
}
Fields
key

string

A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.

The answer value may be one of a few different types. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
strValue

string

String value.

numValue

number

Numerical value.

boolValue

boolean

Boolean value.

naValue

boolean

A value of "Not Applicable (N/A)". Should only ever be true.

skipValue

boolean

Output only. A value of "Skip". 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 would mean that the question was not evaluated.

End of mutually exclusive fields.
score

number

Output only. Numerical score of the answer.

potentialScore

number

Output only. The maximum potential score of the question.

normalizedScore

number

Output only. Normalized score of the questions. Calculated as score / potentialScore.