ValidationResult

Represents the output of agent validation.

JSON representation
{
  "validationErrors": [
    {
      object (ValidationError)
    }
  ]
}
Fields
validationErrors[]

object (ValidationError)

Contains all validation errors.

ValidationError

Represents a single validation error.

JSON representation
{
  "severity": enum (Severity),
  "entries": [
    string
  ],
  "errorMessage": string
}
Fields
severity

enum (Severity)

The severity of the error.

entries[]

string

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.
errorMessage

string

The detailed error message.

Severity

Represents a level of severity.

Enums
SEVERITY_UNSPECIFIED Not specified. This value should never be used.
INFO The agent doesn't follow Dialogflow best practices.
WARNING The agent may not behave as expected.
ERROR The agent may experience partial failures.
CRITICAL The agent may completely fail.