Data QnA v1alpha API - Class InterpretError (2.0.0-alpha02)

public sealed class InterpretError : IMessage<InterpretError>, IEquatable<InterpretError>, IDeepCloneable<InterpretError>, IBufferMessage, IMessage

Reference documentation and code samples for the Data QnA v1alpha API class InterpretError.

Details on the failure to interpret the question.

Inheritance

object > InterpretError

Namespace

Google.Cloud.DataQnA.V1Alpha

Assembly

Google.Cloud.DataQnA.V1Alpha.dll

Constructors

InterpretError()

public InterpretError()

InterpretError(InterpretError)

public InterpretError(InterpretError other)
Parameter
NameDescription
otherInterpretError

Properties

Code

public InterpretError.Types.InterpretErrorCode Code { get; set; }

The code for the error category why the interpretation failed.

Property Value
TypeDescription
InterpretErrorTypesInterpretErrorCode

Details

public InterpretError.Types.InterpretErrorDetails Details { get; set; }

Details on interpretation failure.

Property Value
TypeDescription
InterpretErrorTypesInterpretErrorDetails

Message

public string Message { get; set; }

Error message explaining why this question could not be interpreted.

Property Value
TypeDescription
string