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

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
Name Description
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
Type Description
Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup|null

hasRouteGroup

clearRouteGroup

setRouteGroup

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

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroup
Returns
Type Description
$this

getTransitions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTransitions

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

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

getCoverageScore

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

Returns
Type Description
float

setCoverageScore

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

Parameter
Name Description
var float
Returns
Type Description
$this