Google Cloud Dialogflow Cx V3 Client - Class CalculateCoverageResponse (0.4.0)

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

The response message for TestCases.CalculateCoverage.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agent string

The agent to calculate coverage for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ intent_coverage Google\Cloud\Dialogflow\Cx\V3\IntentCoverage

Intent coverage.

↳ transition_coverage Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage

Transition (excluding transition route groups) coverage.

↳ route_group_coverage Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroupCoverage

Transition route group coverage.

getAgent

The agent to calculate coverage for.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Returns
Type Description
string

setAgent

The agent to calculate coverage for.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getIntentCoverage

Intent coverage.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\IntentCoverage|null

hasIntentCoverage

setIntentCoverage

Intent coverage.

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

getTransitionCoverage

Transition (excluding transition route groups) coverage.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\TransitionCoverage|null

hasTransitionCoverage

setTransitionCoverage

Transition (excluding transition route groups) coverage.

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

getRouteGroupCoverage

Transition route group coverage.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\TransitionRouteGroupCoverage|null

hasRouteGroupCoverage

setRouteGroupCoverage

Transition route group coverage.

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

getCoverageType

Returns
Type Description
string