public sealed class ValidationError : IMessage<ValidationError>, IEquatable<ValidationError>, IDeepCloneable<ValidationError>, IBufferMessage, IMessage
Represents a single validation error.
Implements
IMessage<ValidationError>, IEquatable<ValidationError>, IDeepCloneable<ValidationError>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ValidationError()
public ValidationError()
ValidationError(ValidationError)
public ValidationError(ValidationError other)
Parameter | |
---|---|
Name | Description |
other | ValidationError |
Properties
Entries
public RepeatedField<string> Entries { get; }
The names of the entries that the error is associated with. Format:
- "projects/<Project ID>/agent", if the error is associated with the entire agent.
- "projects/<Project ID>/agent/intents/<Intent ID>", if the error is associated with certain intents.
- "projects/<Project ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>", if the error is associated with certain intent training phrases.
- "projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter ID>", if the error is associated with certain intent parameters.
- "projects/<Project ID>/agent/entities/<Entity ID>", if the error is associated with certain entities.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
ErrorMessage
public string ErrorMessage { get; set; }
The detailed error message.
Property Value | |
---|---|
Type | Description |
String |
Severity
public ValidationError.Types.Severity Severity { get; set; }
The severity of the error.
Property Value | |
---|---|
Type | Description |
ValidationError.Types.Severity |