Google Cloud Dialogflow v2 API - Class ValidationError (4.15.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ValidationError.

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
RepeatedFieldstring

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
ValidationErrorTypesSeverity