Google Cloud Dialogflow Cx V3 Client - Class TransitionRouteGroup (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TransitionRouteGroup.

A TransitionRouteGroup represents a group of TransitionRoutes to be used by a 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 populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

↳ 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<Google\Cloud\Dialogflow\Cx\V3\TransitionRoute>

Transition routes associated with the TransitionRouteGroup.

getName

The unique identifier of the transition route group.

TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

Returns
Type Description
string

setName

The unique identifier of the transition route group.

TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID> .

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTransitionRoutes

Transition routes associated with the TransitionRouteGroup.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\Cx\V3\TransitionRoute>
Returns
Type Description
$this