Google Cloud Dialogflow Cx V3 Client - Class Transition (0.3.2)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Transition.

A transition coverage in a transition route group.

Generated from protobuf message google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ TransitionRouteGroupCoverage \ Coverage

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ transition_route Google\Cloud\Dialogflow\Cx\V3\TransitionRoute

Intent route or condition route.

↳ covered bool

Whether the transition route is covered by at least one of the agent's test cases.

getTransitionRoute

Intent route or condition route.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\TransitionRoute|null

hasTransitionRoute

clearTransitionRoute

setTransitionRoute

Intent route or condition route.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\TransitionRoute
Returns
Type Description
$this

getCovered

Whether the transition route is covered by at least one of the agent's test cases.

Returns
Type Description
bool

setCovered

Whether the transition route is covered by at least one of the agent's test cases.

Parameter
Name Description
var bool
Returns
Type Description
$this