Google Cloud Dialogflow Cx V3 Client - Class TransitionRouteGroup (0.2.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getTransitionRoutes

Transition routes associated with the TransitionRouteGroup.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTransitionRoutes

Transition routes associated with the TransitionRouteGroup.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\TransitionRoute>
Returns
TypeDescription
$this