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//agent", if the error is associated with the entire agent.
  • "projects//agent/intents/", if the error is associated with certain intents.
  • "projects//agent/intents//trainingPhrases/", if the error is associated with certain intent training phrases.
  • "projects//agent/intents//parameters/", if the error is associated with certain intent parameters.
  • "projects//agent/entities/", if the error is associated with certain entities.
errorMessage

string

The detailed error messsage.

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 practicies.
WARNING The agent may not behave as expected.
ERROR The agent may experience partial failures.
CRITICAL The agent may completely fail.