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

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

NameAccessible byRequired ParamsDescription
projects_locations_agents_flows_transition_route_groups_getSELECTagentsId, flowsId, locationsId, projectsId, transitionRouteGroupsIdRetrieves the specified TransitionRouteGroup.
projects_locations_agents_flows_transition_route_groups_listSELECTagentsId, flowsId, locationsId, projectsIdReturns the list of all transition route groups in the specified flow.
projects_locations_agents_transition_route_groups_getSELECTagentsId, locationsId, projectsId, transitionRouteGroupsIdRetrieves the specified TransitionRouteGroup.
projects_locations_agents_transition_route_groups_listSELECTagentsId, locationsId, projectsIdReturns the list of all transition route groups in the specified flow.
projects_locations_agents_flows_transition_route_groups_createINSERTagentsId, flowsId, locationsId, projectsIdCreates 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_createINSERTagentsId, locationsId, projectsIdCreates 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_deleteDELETEagentsId, flowsId, locationsId, projectsId, transitionRouteGroupsIdDeletes 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_deleteDELETEagentsId, locationsId, projectsId, transitionRouteGroupsIdDeletes 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_patchUPDATEagentsId, flowsId, locationsId, projectsId, transitionRouteGroupsIdUpdates 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_patchUPDATEagentsId, locationsId, projectsId, transitionRouteGroupsIdUpdates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

SELECT examples

Returns the list of all transition route groups in the specified flow.

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

INSERT example

Use the following StackQL query and manifest file to create a new transition_route_groups resource.

/*+ create */
INSERT INTO google.dialogflow.transition_route_groups (
agentsId,
locationsId,
projectsId,
name,
displayName,
transitionRoutes
)
SELECT
'{{ agentsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ displayName }}',
'{{ transitionRoutes }}'
;

UPDATE example

Updates a transition_route_groups resource.

/*+ update */
UPDATE google.dialogflow.transition_route_groups
SET
name = '{{ name }}',
displayName = '{{ displayName }}',
transitionRoutes = '{{ transitionRoutes }}'
WHERE
agentsId = '{{ agentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND transitionRouteGroupsId = '{{ transitionRouteGroupsId }}';

DELETE example

Deletes the specified transition_route_groups resource.

/*+ delete */
DELETE FROM google.dialogflow.transition_route_groups
WHERE agentsId = '{{ agentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND transitionRouteGroupsId = '{{ transitionRouteGroupsId }}';