# Google Cloud Dialogflow Cx V3 Client - Class Coverage (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 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` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroup` Transition route group metadata. Only name and displayName will be set. |
| `↳ transitions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroup|null` |   |

### hasRouteGroup

### clearRouteGroup

### setRouteGroup

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

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

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

### getTransitions

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroupCoverage.Coverage.Transition>` |   |

### setTransitions

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/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` |   |