public sealed class QaQuestion.Types.AnswerChoice : IMessage<QaQuestion.Types.AnswerChoice>, IEquatable<QaQuestion.Types.AnswerChoice>, IDeepCloneable<QaQuestion.Types.AnswerChoice>, IBufferMessage, IMessage
Reference documentation and code samples for the Contact Center AI Insights v1 API class QaQuestion.Types.AnswerChoice.
Message representing a possible answer to the question.
A value of "Not Applicable (N/A)". If provided, this field may only
be set to true. If a question receives this answer, it will be
excluded from any score calculations.
[[["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\u003eThe latest version available for \u003ccode\u003eQaQuestion.Types.AnswerChoice\u003c/code\u003e is 2.19.0, with older versions ranging down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQaQuestion.Types.AnswerChoice\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.ContactCenterInsights.V1\u003c/code\u003e API that represents a possible answer to a question, inheriting from object and implementing multiple interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties to hold a boolean, numerical, string value, or a "Not Applicable" status, and it can use a score to determine its outcome.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class \u003ccode\u003eAnswerChoice\u003c/code\u003e, one empty, and the other which accepts another instance of the same class to create a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnswerChoice\u003c/code\u003e class has properties such as \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eBoolValue\u003c/code\u003e, \u003ccode\u003eNaValue\u003c/code\u003e, \u003ccode\u003eNumValue\u003c/code\u003e, \u003ccode\u003eScore\u003c/code\u003e, and \u003ccode\u003eStrValue\u003c/code\u003e that represent an identifier, a boolean value, a not-applicable status, a numerical value, a numerical score, and a string value respectively.\u003c/p\u003e\n"]]],[],null,["# Contact Center AI Insights v1 API - Class QaQuestion.Types.AnswerChoice (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.QaQuestion.Types.AnswerChoice)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.18.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.17.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.16.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.15.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.14.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.13.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.12.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.11.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.10.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.9.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.8.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.7.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.6.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.5.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.4.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.3.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.2.1](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.2.1/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.1.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/2.0.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.3.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.2.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.1.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/1.0.0/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice) \n\n public sealed class QaQuestion.Types.AnswerChoice : IMessage\u003cQaQuestion.Types.AnswerChoice\u003e, IEquatable\u003cQaQuestion.Types.AnswerChoice\u003e, IDeepCloneable\u003cQaQuestion.Types.AnswerChoice\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Contact Center AI Insights v1 API class QaQuestion.Types.AnswerChoice.\n\nMessage representing a possible answer to the question. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e QaQuestion.Types.AnswerChoice \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QaQuestion](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types)[AnswerChoice](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QaQuestion](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types)[AnswerChoice](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QaQuestion](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion)[Types](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types)[AnswerChoice](/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice), [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### AnswerChoice()\n\n public AnswerChoice()\n\n### AnswerChoice(AnswerChoice)\n\n public AnswerChoice(QaQuestion.Types.AnswerChoice 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### HasNumValue\n\n public bool HasNumValue { get; }\n\nGets whether the \"num_value\" 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.\n\n### NaValue\n\n public bool NaValue { get; set; }\n\nA value of \"Not Applicable (N/A)\". If provided, this field may only\nbe set to `true`. If a question receives this answer, it will be\nexcluded from any score calculations.\n\n### NumValue\n\n public double NumValue { get; set; }\n\nNumerical value.\n\n### Score\n\n public double Score { get; set; }\n\nNumerical score of the answer, used for generating the overall score of\na QaScorecardResult. If the answer uses na_value, this field is unused.\n\n### StrValue\n\n public string StrValue { get; set; }\n\nString value.\n\n### ValueCase\n\n public QaQuestion.Types.AnswerChoice.ValueOneofCase ValueCase { get; }"]]