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

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
NameDescription
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
TypeDescription
string

setAgent

The agent to calculate coverage for.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIntentCoverage

Intent coverage.

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

hasIntentCoverage

setIntentCoverage

Intent coverage.

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

getTransitionCoverage

Transition (excluding transition route groups) coverage.

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

hasTransitionCoverage

setTransitionCoverage

Transition (excluding transition route groups) coverage.

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

getRouteGroupCoverage

Transition route group coverage.

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

hasRouteGroupCoverage

setRouteGroupCoverage

Transition route group coverage.

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

getCoverageType

Returns
TypeDescription
string