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

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
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\TransitionRoute|null

hasTransitionRoute

clearTransitionRoute

setTransitionRoute

Intent route or condition route.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\TransitionRoute
Returns
TypeDescription
$this

getCovered

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

Returns
TypeDescription
bool

setCovered

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this