Google Cloud Dialogflow v2 API - Class ValidationError (4.19.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
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
RepeatedFieldstring

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
ValidationErrorTypesSeverity