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

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

Coverage result message for one transition route group.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ TransitionRouteGroupCoverage

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ route_group Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup

Transition route group metadata. Only name and displayName will be set.

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

The list of transition routes and coverage in the transition route group.

↳ coverage_score float

The percent of transition routes in the transition route group that are covered.

getRouteGroup

Transition route group metadata. Only name and displayName will be set.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup|null

hasRouteGroup

clearRouteGroup

setRouteGroup

Transition route group metadata. Only name and displayName will be set.

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

getTransitions

The list of transition routes and coverage in the transition route group.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTransitions

The list of transition routes and coverage in the transition route group.

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

getCoverageScore

The percent of transition routes in the transition route group that are covered.

Returns
TypeDescription
float

setCoverageScore

The percent of transition routes in the transition route group that are covered.

Parameter
NameDescription
var float
Returns
TypeDescription
$this