Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Transition.
A transition in a page.
Generated from protobuf message google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ TransitionCoverageMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode
The start node of a transition. |
↳ index |
int
The index of a transition in the transition list. Starting from 0. |
↳ target |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode
The end node of a transition. |
↳ covered |
bool
Whether the transition is covered by at least one of the agent's test cases. |
↳ transition_route |
Google\Cloud\Dialogflow\Cx\V3\TransitionRoute
Intent route or condition route. |
↳ event_handler |
Google\Cloud\Dialogflow\Cx\V3\EventHandler
Event handler. |
getSource
The start node of a transition.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode|null |
hasSource
clearSource
setSource
The start node of a transition.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode
|
Returns | |
---|---|
Type | Description |
$this |
getIndex
The index of a transition in the transition list. Starting from 0.
Returns | |
---|---|
Type | Description |
int |
setIndex
The index of a transition in the transition list. Starting from 0.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTarget
The end node of a transition.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode|null |
hasTarget
clearTarget
setTarget
The end node of a transition.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\TransitionNode
|
Returns | |
---|---|
Type | Description |
$this |
getCovered
Whether the transition is covered by at least one of the agent's test cases.
Returns | |
---|---|
Type | Description |
bool |
setCovered
Whether the transition is covered by at least one of the agent's test cases.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getTransitionRoute
Intent route or condition route.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\TransitionRoute|null |
hasTransitionRoute
setTransitionRoute
Intent route or condition route.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\TransitionRoute
|
Returns | |
---|---|
Type | Description |
$this |
getEventHandler
Event handler.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\EventHandler|null |
hasEventHandler
setEventHandler
Event handler.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\EventHandler
|
Returns | |
---|---|
Type | Description |
$this |
getDetail
Returns | |
---|---|
Type | Description |
string |