AnswerValue

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

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

string

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

回答の値は、いくつかの異なるタイプのいずれかになります。相互に排他的なフィールドのリストは次のとおりです。レスポンスに設定されるフィールドは、最大 1 つです。
strValue

string

文字列値。

numValue

number

数値。

boolValue

boolean

ブール値。

naValue

boolean

「該当なし(N/A)」の値。true のみ。

skipValue

boolean

出力専用。「Skip」の値。指定する場合、このフィールドは true にのみ設定できます。この回答が選択された質問は、スコアの計算から除外されます。これは、質問が評価されなかったことを意味します。

相互に排他的なフィールドの終了。
score

number

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

potentialScore

number

出力専用。問題の最大可能スコア。

normalizedScore

number

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