AnswerValue

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

JSON representation
{
  "key": string,

  // Union field value can be only one of the following:
  "strValue": string,
  "numValue": number,
  "boolValue": boolean,
  "naValue": boolean
  // End of list of possible types for union field value.
  "score": number,
  "potentialScore": number,
  "normalizedScore": number
}
Fields
key

string

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

Union field value. The answer value may be one of a few different types. value can be only one of the following:
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.

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.