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 \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent |
string
The agent to calculate coverage for. Format: |
↳ intent_coverage |
IntentCoverage
Intent coverage. |
↳ transition_coverage |
TransitionCoverage
Transition (excluding transition route groups) coverage. |
↳ route_group_coverage |
TransitionRouteGroupCoverage
Transition route group coverage. |
getAgent
The agent to calculate coverage for.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAgent
The agent to calculate coverage for.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIntentCoverage
Intent coverage.
| Returns | |
|---|---|
| Type | Description |
IntentCoverage|null |
|
hasIntentCoverage
setIntentCoverage
Intent coverage.
| Parameter | |
|---|---|
| Name | Description |
var |
IntentCoverage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTransitionCoverage
Transition (excluding transition route groups) coverage.
| Returns | |
|---|---|
| Type | Description |
TransitionCoverage|null |
|
hasTransitionCoverage
setTransitionCoverage
Transition (excluding transition route groups) coverage.
| Parameter | |
|---|---|
| Name | Description |
var |
TransitionCoverage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRouteGroupCoverage
Transition route group coverage.
| Returns | |
|---|---|
| Type | Description |
TransitionRouteGroupCoverage|null |
|
hasRouteGroupCoverage
setRouteGroupCoverage
Transition route group coverage.
| Parameter | |
|---|---|
| Name | Description |
var |
TransitionRouteGroupCoverage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCoverageType
| Returns | |
|---|---|
| Type | Description |
string |
|