Class ValidationError (3.8.0)

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

Represents a single validation error.

Inheritance

Object > ValidationError

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ValidationError()

public ValidationError()

ValidationError(ValidationError)

public ValidationError(ValidationError other)
Parameter
NameDescription
otherValidationError

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
TypeDescription
RepeatedField<String>

ErrorMessage

public string ErrorMessage { get; set; }

The detailed error message.

Property Value
TypeDescription
String

Severity

public ValidationError.Types.Severity Severity { get; set; }

The severity of the error.

Property Value
TypeDescription
ValidationError.Types.Severity