# Google Cloud Dialogflow Cx V3 Client - Class CalculateCoverageResponse (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CalculateCoverageResponse.

The response message for
[TestCases.CalculateCoverage](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TestCasesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TestCasesClient__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/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. |
| `↳ intent_coverage` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.IntentCoverage` Intent coverage. |
| `↳ transition_coverage` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionCoverage` Transition (excluding transition route groups) coverage. |
| `↳ route_group_coverage` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.IntentCoverage|null` |   |

### hasIntentCoverage

### setIntentCoverage

Intent coverage.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.IntentCoverage` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTransitionCoverage

Transition (excluding transition route groups) coverage.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionCoverage|null` |   |

### hasTransitionCoverage

### setTransitionCoverage

Transition (excluding transition route groups) coverage.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionCoverage` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRouteGroupCoverage

Transition route group coverage.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroupCoverage|null` |   |

### hasRouteGroupCoverage

### setRouteGroupCoverage

Transition route group coverage.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroupCoverage` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCoverageType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |