Join the Dialogflow CX competition! Get trained in Dialogflow CX, work on open-source conversational components, get a free Dialogflow t-shirt and win cool prizes! Learn more.

FlowValidationResult

The response message for Flows.GetFlowValidationResult.

JSON representation
{
  "name": string,
  "validationMessages": [
    {
      object (ValidationMessage)
    }
  ],
  "updateTime": string
}
Fields
name

string

The unique identifier of the flow validation result. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/validationResult.

validationMessages[]

object (ValidationMessage)

Contains all validation messages.

updateTime

string (Timestamp format)

Last time the flow was validated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

ValidationMessage

Agent/flow validation message.

JSON representation
{
  "resourceType": enum (ResourceType),
  "resources": [
    string
  ],
  "resourceNames": [
    {
      object (ResourceName)
    }
  ],
  "severity": enum (Severity),
  "detail": string
}
Fields
resourceType

enum (ResourceType)

The type of the resources where the message is found.

resources[]
(deprecated)

string

The names of the resources where the message is found.

resourceNames[]

object (ResourceName)

The resource names of the resources where the message is found.

severity

enum (Severity)

Indicates the severity of the message.

detail

string

The message detail.

ResourceType

Resource types.

Enums
RESOURCE_TYPE_UNSPECIFIED Unspecified.
AGENT Agent.
INTENT Intent.
INTENT_TRAINING_PHRASE Intent training phrase.
INTENT_PARAMETER Intent parameter.
INTENTS Multiple intents.
INTENT_TRAINING_PHRASES Multiple training phrases.
ENTITY_TYPE Entity type.
ENTITY_TYPES Multiple entity types.
WEBHOOK Webhook.
FLOW Flow.
PAGE Page.
PAGES Multiple pages.
TRANSITION_ROUTE_GROUP Transition route group.

ResourceName

Resource name and display name.

JSON representation
{
  "name": string,
  "displayName": string
}
Fields
name

string

Name.

displayName

string

Display name.

Severity

Severity level.

Enums
SEVERITY_UNSPECIFIED Unspecified.
INFO The agent doesn't follow Dialogflow best practices.
WARNING The agent may not behave as expected.
ERROR The agent may experience failures.