Skip to main content

transition_route_groups

Creates, updates, deletes, gets or lists a transition_route_groups resource.

Overview

Nametransition_route_groups
TypeResource
Idgoogle.dialogflow.transition_route_groups

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ .
displayNamestringRequired. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.
transitionRoutesarrayTransition routes associated with the TransitionRouteGroup.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_flows_transition_route_groups_getselectprojectsId, locationsId, agentsId, flowsId, transitionRouteGroupsIdlanguageCodeRetrieves the specified TransitionRouteGroup.
projects_locations_agents_flows_transition_route_groups_listselectprojectsId, locationsId, agentsId, flowsIdpageSize, pageToken, languageCodeReturns the list of all transition route groups in the specified flow.
projects_locations_agents_transition_route_groups_getselectprojectsId, locationsId, agentsId, transitionRouteGroupsIdlanguageCodeRetrieves the specified TransitionRouteGroup.
projects_locations_agents_transition_route_groups_listselectprojectsId, locationsId, agentsIdpageSize, pageToken, languageCodeReturns the list of all transition route groups in the specified flow.
projects_locations_agents_flows_transition_route_groups_createinsertprojectsId, locationsId, agentsId, flowsIdlanguageCodeCreates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_transition_route_groups_createinsertprojectsId, locationsId, agentsIdlanguageCodeCreates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_flows_transition_route_groups_patchupdateprojectsId, locationsId, agentsId, flowsId, transitionRouteGroupsIdupdateMask, languageCodeUpdates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_transition_route_groups_patchupdateprojectsId, locationsId, agentsId, transitionRouteGroupsIdupdateMask, languageCodeUpdates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_flows_transition_route_groups_deletedeleteprojectsId, locationsId, agentsId, flowsId, transitionRouteGroupsIdforceDeletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.
projects_locations_agents_transition_route_groups_deletedeleteprojectsId, locationsId, agentsId, transitionRouteGroupsIdforceDeletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agentsIdstring
flowsIdstring
locationsIdstring
projectsIdstring
transitionRouteGroupsIdstring
forceboolean
languageCodestring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Retrieves the specified TransitionRouteGroup.

SELECT
name,
displayName,
transitionRoutes
FROM google.dialogflow.transition_route_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND flowsId = '{{ flowsId }}' -- required
AND transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' -- required
AND languageCode = '{{ languageCode }}';

INSERT examples

Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

INSERT INTO google.dialogflow.transition_route_groups (
data__name,
data__displayName,
data__transitionRoutes,
projectsId,
locationsId,
agentsId,
flowsId,
languageCode
)
SELECT
'{{ name }}',
'{{ displayName }}',
'{{ transitionRoutes }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ agentsId }}',
'{{ flowsId }}',
'{{ languageCode }}'
RETURNING
name,
displayName,
transitionRoutes
;

UPDATE examples

Updates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

UPDATE google.dialogflow.transition_route_groups
SET
data__name = '{{ name }}',
data__displayName = '{{ displayName }}',
data__transitionRoutes = '{{ transitionRoutes }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND agentsId = '{{ agentsId }}' --required
AND flowsId = '{{ flowsId }}' --required
AND transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
AND languageCode = '{{ languageCode}}'
RETURNING
name,
displayName,
transitionRoutes;

DELETE examples

Deletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

DELETE FROM google.dialogflow.transition_route_groups
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND agentsId = '{{ agentsId }}' --required
AND flowsId = '{{ flowsId }}' --required
AND transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' --required
AND force = '{{ force }}';