public sealed class QaQuestion.Types.AnswerChoice : IMessage<QaQuestion.Types.AnswerChoice>, IEquatable<QaQuestion.Types.AnswerChoice>, IDeepCloneable<QaQuestion.Types.AnswerChoice>, IBufferMessage, IMessageReference documentation and code samples for the Contact Center AI Insights v1 API class QaQuestion.Types.AnswerChoice.
Message representing a possible answer to the question.
Implements
IMessageQaQuestionTypesAnswerChoice, IEquatableQaQuestionTypesAnswerChoice, IDeepCloneableQaQuestionTypesAnswerChoice, IBufferMessage, IMessageNamespace
Google.Cloud.ContactCenterInsights.V1Assembly
Google.Cloud.ContactCenterInsights.V1.dll
Constructors
AnswerChoice()
public AnswerChoice()AnswerChoice(AnswerChoice)
public AnswerChoice(QaQuestion.Types.AnswerChoice other)| Parameter | |
|---|---|
| Name | Description |
other |
QaQuestionTypesAnswerChoice |
Properties
BoolValue
public bool BoolValue { get; set; }Boolean value.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasBoolValue
public bool HasBoolValue { get; }Gets whether the "bool_value" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasNaValue
public bool HasNaValue { get; }Gets whether the "na_value" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasNumValue
public bool HasNumValue { get; }Gets whether the "num_value" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasScore
public bool HasScore { get; }Gets whether the "score" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasStrValue
public bool HasStrValue { get; }Gets whether the "str_value" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Key
public string Key { get; set; }A short string used as an identifier.
| Property Value | |
|---|---|
| Type | Description |
string |
|
NaValue
public bool NaValue { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
NumValue
public double NumValue { get; set; }Numerical value.
| Property Value | |
|---|---|
| Type | Description |
double |
|
Score
public double Score { get; set; }Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
| Property Value | |
|---|---|
| Type | Description |
double |
|
StrValue
public string StrValue { get; set; }String value.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ValueCase
public QaQuestion.Types.AnswerChoice.ValueOneofCase ValueCase { get; }| Property Value | |
|---|---|
| Type | Description |
QaQuestionTypesAnswerChoiceValueOneofCase |
|