# Google Cloud Dialogflow Cx V3 Client - Class TransitionRouteGroup (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 TransitionRouteGroup.

A TransitionRouteGroup represents a group of
[`TransitionRoutes`](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRoute) to be
used by a [Page](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Page).

Generated from protobuf message `google.cloud.dialogflow.cx.v3.TransitionRouteGroup`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The unique identifier of the transition route group. [TransitionRouteGroups.CreateTransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TransitionRouteGroupsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TransitionRouteGroupsClient__createTransitionRouteGroup__) populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` . |
| `↳ display_name` | `string` Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. |
| `↳ transition_routes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRoute>` Transition routes associated with the [TransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroup). |

### getName

The unique identifier of the transition route group.

[TransitionRouteGroups.CreateTransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TransitionRouteGroupsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TransitionRouteGroupsClient__createTransitionRouteGroup__)
populates the name automatically. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>`
.

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

### setName

The unique identifier of the transition route group.

[TransitionRouteGroups.CreateTransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TransitionRouteGroupsClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TransitionRouteGroupsClient__createTransitionRouteGroup__)
populates the name automatically. Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>`
.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getDisplayName

Required. The human-readable name of the transition route group, unique
within the flow. The display name can be no longer than 30 characters.

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

### setDisplayName

Required. The human-readable name of the transition route group, unique
within the flow. The display name can be no longer than 30 characters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getTransitionRoutes

Transition routes associated with the
[TransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroup).

| **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.TransitionRoute>` |   |

### setTransitionRoutes

Transition routes associated with the
[TransitionRouteGroup](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.TransitionRouteGroup).

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

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