View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue (google_api_contact_center_insights v0.12.0)

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

Attributes

  • boolValue (type: boolean(), default: nil) - Boolean value.
  • key (type: String.t, default: nil) - A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
  • naValue (type: boolean(), default: nil) - A value of "Not Applicable (N/A)".
  • normalizedScore (type: float(), default: nil) - Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
  • numValue (type: float(), default: nil) - Numerical value.
  • potentialScore (type: float(), default: nil) - Output only. The maximum potential score of the question.
  • score (type: float(), default: nil) - Output only. Numerical score of the answer.
  • strValue (type: String.t, default: nil) - String value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue{
    boolValue: boolean() | nil,
    key: String.t() | nil,
    naValue: boolean() | nil,
    normalizedScore: float() | nil,
    numValue: float() | nil,
    potentialScore: float() | nil,
    score: float() | nil,
    strValue: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.