transition_route_groups
Creates, updates, deletes, gets or lists a transition_route_groups
resource.
Overview
Name | transition_route_groups |
Type | Resource |
Id | google.dialogflow.transition_route_groups |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_agents_flows_transition_route_groups_get
- projects_locations_agents_flows_transition_route_groups_list
- projects_locations_agents_transition_route_groups_get
- projects_locations_agents_transition_route_groups_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ . |
displayName | 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. |
transitionRoutes | array | Transition routes associated with the TransitionRouteGroup. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ . |
displayName | 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. |
transitionRoutes | array | Transition routes associated with the TransitionRouteGroup. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ . |
displayName | 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. |
transitionRoutes | array | Transition routes associated with the TransitionRouteGroup. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ . |
displayName | 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. |
transitionRoutes | array | Transition routes associated with the TransitionRouteGroup. |
Methods
The following methods are available for this resource:
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.
Name | Datatype | Description |
---|---|---|
agentsId | string | |
flowsId | string | |
locationsId | string | |
projectsId | string | |
transitionRouteGroupsId | string | |
force | boolean | |
languageCode | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- projects_locations_agents_flows_transition_route_groups_get
- projects_locations_agents_flows_transition_route_groups_list
- projects_locations_agents_transition_route_groups_get
- projects_locations_agents_transition_route_groups_list
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 }}';
Returns the list of all transition route groups in the specified flow.
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 pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND languageCode = '{{ languageCode }}';
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 transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' -- required
AND languageCode = '{{ languageCode }}';
Returns the list of all transition route groups in the specified flow.
SELECT
name,
displayName,
transitionRoutes
FROM google.dialogflow.transition_route_groups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND languageCode = '{{ languageCode }}';
INSERT
examples
- projects_locations_agents_flows_transition_route_groups_create
- projects_locations_agents_transition_route_groups_create
- Manifest
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
;
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,
languageCode
)
SELECT
'{{ name }}',
'{{ displayName }}',
'{{ transitionRoutes }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ agentsId }}',
'{{ languageCode }}'
RETURNING
name,
displayName,
transitionRoutes
;
# Description fields are for documentation purposes
- name: transition_route_groups
props:
- name: projectsId
value: string
description: Required parameter for the transition_route_groups resource.
- name: locationsId
value: string
description: Required parameter for the transition_route_groups resource.
- name: agentsId
value: string
description: Required parameter for the transition_route_groups resource.
- name: flowsId
value: string
description: Required parameter for the transition_route_groups resource.
- name: name
value: string
description: >
The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/` .
- name: displayName
value: string
description: >
Required. The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters.
- name: transitionRoutes
value: array
description: >
Transition routes associated with the TransitionRouteGroup.
- name: languageCode
value: string
UPDATE
examples
- projects_locations_agents_flows_transition_route_groups_patch
- projects_locations_agents_transition_route_groups_patch
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;
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 transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' --required
AND updateMask = '{{ updateMask}}'
AND languageCode = '{{ languageCode}}'
RETURNING
name,
displayName,
transitionRoutes;
DELETE
examples
- projects_locations_agents_flows_transition_route_groups_delete
- projects_locations_agents_transition_route_groups_delete
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 }}';
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 transitionRouteGroupsId = '{{ transitionRouteGroupsId }}' --required
AND force = '{{ force }}';