AnswerValue

QaAnswer の値を保持するメッセージ。QaQuestion.AnswerChoice は、質問に対して考えられる回答値を定義します。

JSON 表現
{
  "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
}
フィールド
key

string

識別子として使用される短い文字列。QaQuestion.AnswerChoice.key で使用される値と一致します。

共用体フィールド value。回答値は、いくつかの異なるタイプのいずれかになります。value は次のいずれかになります。
strValue

string

文字列値。

numValue

number

数値。

boolValue

boolean

ブール値。

naValue

boolean

「該当なし(N/A)」の値。常に true にする必要があります。

score

number

出力専用。回答の数値スコア。

potentialScore

number

出力専用。質問の潜在的な最大スコア。

normalizedScore

number

出力専用。質問の正規化されたスコア。score / potentialScore として計算されます。