public sealed class QaAnswer.Types.AnswerValue : IMessage<QaAnswer.Types.AnswerValue>, IEquatable<QaAnswer.Types.AnswerValue>, IDeepCloneable<QaAnswer.Types.AnswerValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Contact Center AI Insights v1 API class QaAnswer.Types.AnswerValue.
Message for holding the value of a
[QaAnswer][google.cloud.contactcenterinsights.v1.QaAnswer].
[QaQuestion.AnswerChoice][google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice]
defines the possible answer values for a question.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eQaAnswer.Types.AnswerValue\u003c/code\u003e class, a component of the Google Cloud Contact Center Insights v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQaAnswer.Types.AnswerValue\u003c/code\u003e class serves as a message to store the value of a \u003ccode\u003eQaAnswer\u003c/code\u003e, corresponding to the possible answer values defined in \u003ccode\u003eQaQuestion.AnswerChoice\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are available, ranging from version 1.0.0 to the latest release, 2.19.0, with each version link leading to its respective page.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling its integration with the Google Cloud .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eProperties within this class, such as \u003ccode\u003eBoolValue\u003c/code\u003e, \u003ccode\u003eNaValue\u003c/code\u003e, \u003ccode\u003eNormalizedScore\u003c/code\u003e, \u003ccode\u003eNumValue\u003c/code\u003e, and \u003ccode\u003eStrValue\u003c/code\u003e, enable different types of answers as well as output only information like \u003ccode\u003eScore\u003c/code\u003e, \u003ccode\u003ePotentialScore\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Contact Center AI Insights v1 API - Class QaAnswer.Types.AnswerValue (2.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.18.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.17.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.16.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.15.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.14.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.13.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.12.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.11.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.10.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.9.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.8.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.7.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.6.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.5.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.4.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.3.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.2.1](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.2.1/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.1.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.0.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.3.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.2.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.1.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.0.0/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue) \n\n public sealed class QaAnswer.Types.AnswerValue : IMessage\u003cQaAnswer.Types.AnswerValue\u003e, IEquatable\u003cQaAnswer.Types.AnswerValue\u003e, IDeepCloneable\u003cQaAnswer.Types.AnswerValue\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Contact Center AI Insights v1 API class QaAnswer.Types.AnswerValue.\n\nMessage for holding the value of a\n\\[QaAnswer\\]\\[google.cloud.contactcenterinsights.v1.QaAnswer\\].\n\\[QaQuestion.AnswerChoice\\]\\[google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice\\]\ndefines the possible answer values for a question. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e QaAnswer.Types.AnswerValue \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QaAnswer](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types)[AnswerValue](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QaAnswer](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types)[AnswerValue](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QaAnswer](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types)[AnswerValue](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.ContactCenterInsights.V1](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ContactCenterInsights.V1.dll\n\nConstructors\n------------\n\n### AnswerValue()\n\n public AnswerValue()\n\n### AnswerValue(AnswerValue)\n\n public AnswerValue(QaAnswer.Types.AnswerValue other)\n\nProperties\n----------\n\n### BoolValue\n\n public bool BoolValue { get; set; }\n\nBoolean value.\n\n### HasBoolValue\n\n public bool HasBoolValue { get; }\n\nGets whether the \"bool_value\" field is set\n\n### HasNaValue\n\n public bool HasNaValue { get; }\n\nGets whether the \"na_value\" field is set\n\n### HasNormalizedScore\n\n public bool HasNormalizedScore { get; }\n\nGets whether the \"normalized_score\" field is set\n\n### HasNumValue\n\n public bool HasNumValue { get; }\n\nGets whether the \"num_value\" field is set\n\n### HasPotentialScore\n\n public bool HasPotentialScore { get; }\n\nGets whether the \"potential_score\" field is set\n\n### HasScore\n\n public bool HasScore { get; }\n\nGets whether the \"score\" field is set\n\n### HasStrValue\n\n public bool HasStrValue { get; }\n\nGets whether the \"str_value\" field is set\n\n### Key\n\n public string Key { get; set; }\n\nA short string used as an identifier. Matches the value used in\nQaQuestion.AnswerChoice.key.\n\n### NaValue\n\n public bool NaValue { get; set; }\n\nA value of \"Not Applicable (N/A)\". Should only ever be `true`.\n\n### NormalizedScore\n\n public double NormalizedScore { get; set; }\n\nOutput only. Normalized score of the questions. Calculated as score /\npotential_score.\n\n### NumValue\n\n public double NumValue { get; set; }\n\nNumerical value.\n\n### PotentialScore\n\n public double PotentialScore { get; set; }\n\nOutput only. The maximum potential score of the question.\n\n### Score\n\n public double Score { get; set; }\n\nOutput only. Numerical score of the answer.\n\n### StrValue\n\n public string StrValue { get; set; }\n\nString value.\n\n### ValueCase\n\n public QaAnswer.Types.AnswerValue.ValueOneofCase ValueCase { get; }"]]