Google Cloud Dialogflow Cx V3 Client - Class TransitionCoverage (0.3.4)

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

Transition coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.

Generated from protobuf message google.cloud.dialogflow.cx.v3.TransitionCoverage

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ transitions array<Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\Transition>

The list of Transitions present in the agent.

↳ coverage_score float

The percent of transitions in the agent that are covered.

getTransitions

The list of Transitions present in the agent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTransitions

The list of Transitions present in the agent.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\Transition>
Returns
Type Description
$this

getCoverageScore

The percent of transitions in the agent that are covered.

Returns
Type Description
float

setCoverageScore

The percent of transitions in the agent that are covered.

Parameter
Name Description
var float
Returns
Type Description
$this