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.
Implements
IMessageQaAnswerTypesAnswerValue, IEquatableQaAnswerTypesAnswerValue, IDeepCloneableQaAnswerTypesAnswerValue, IBufferMessage, IMessageNamespace
Google.Cloud.ContactCenterInsights.V1Assembly
Google.Cloud.ContactCenterInsights.V1.dll
Constructors
AnswerValue()
public AnswerValue()
AnswerValue(AnswerValue)
public AnswerValue(QaAnswer.Types.AnswerValue other)
Parameter | |
---|---|
Name | Description |
other |
QaAnswerTypesAnswerValue |
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 |
HasNormalizedScore
public bool HasNormalizedScore { get; }
Gets whether the "normalized_score" 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 |
HasPotentialScore
public bool HasPotentialScore { get; }
Gets whether the "potential_score" 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. Matches the value used in QaQuestion.AnswerChoice.key.
Property Value | |
---|---|
Type | Description |
string |
NaValue
public bool NaValue { get; set; }
A value of "Not Applicable (N/A)". Should only ever be true
.
Property Value | |
---|---|
Type | Description |
bool |
NormalizedScore
public double NormalizedScore { get; set; }
Output only. Normalized score of the questions. Calculated as score / potential_score.
Property Value | |
---|---|
Type | Description |
double |
NumValue
public double NumValue { get; set; }
Numerical value.
Property Value | |
---|---|
Type | Description |
double |
PotentialScore
public double PotentialScore { get; set; }
Output only. The maximum potential score of the question.
Property Value | |
---|---|
Type | Description |
double |
Score
public double Score { get; set; }
Output only. Numerical score of the answer.
Property Value | |
---|---|
Type | Description |
double |
StrValue
public string StrValue { get; set; }
String value.
Property Value | |
---|---|
Type | Description |
string |
ValueCase
public QaAnswer.Types.AnswerValue.ValueOneofCase ValueCase { get; }
Property Value | |
---|---|
Type | Description |
QaAnswerTypesAnswerValueValueOneofCase |