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

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTransitions

The list of Transitions present in the agent.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage\Transition>
Returns
TypeDescription
$this

getCoverageScore

The percent of transitions in the agent that are covered.

Returns
TypeDescription
float

setCoverageScore

The percent of transitions in the agent that are covered.

Parameter
NameDescription
var float
Returns
TypeDescription
$this