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

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/<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<TransitionRoute>

Transition routes associated with the TransitionRouteGroup.

getName

The unique identifier of the transition route group.

TransitionRouteGroups.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 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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTransitionRoutes

Transition routes associated with the TransitionRouteGroup.

Parameter
Name Description
var array<TransitionRoute>
Returns
Type Description
$this