Skip to main content

pages

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

Overview

Namepages
TypeResource
Idgoogle.dialogflow.pages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
advancedSettingsobject (id: GoogleCloudDialogflowCxV3AdvancedSettings)
descriptionstring
displayNamestring
entryFulfillmentobject (id: GoogleCloudDialogflowCxV3Fulfillment)
eventHandlersarray
formobject (id: GoogleCloudDialogflowCxV3Form)
knowledgeConnectorSettingsobject (id: GoogleCloudDialogflowCxV3KnowledgeConnectorSettings)
transitionRouteGroupsarray
transitionRoutesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_flows_pages_getselectprojectsId, locationsId, agentsId, flowsId, pagesIdlanguageCode
projects_locations_agents_flows_pages_listselectprojectsId, locationsId, agentsId, flowsIdpageSize, languageCode, pageToken
projects_locations_agents_flows_pages_createinsertprojectsId, locationsId, agentsId, flowsIdlanguageCode
projects_locations_agents_flows_pages_patchupdateprojectsId, locationsId, agentsId, flowsId, pagesIdupdateMask, languageCode
projects_locations_agents_flows_pages_deletedeleteprojectsId, locationsId, agentsId, flowsId, pagesIdforce

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
pagesIdstring
projectsIdstring
forceboolean
languageCodestring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Successful response

SELECT
name,
advancedSettings,
description,
displayName,
entryFulfillment,
eventHandlers,
form,
knowledgeConnectorSettings,
transitionRouteGroups,
transitionRoutes
FROM google.dialogflow.pages
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND flowsId = '{{ flowsId }}' -- required
AND pagesId = '{{ pagesId }}' -- required
AND languageCode = '{{ languageCode }}'
;

INSERT examples

No description available.

INSERT INTO google.dialogflow.pages (
data__eventHandlers,
data__form,
data__displayName,
data__transitionRouteGroups,
data__knowledgeConnectorSettings,
data__name,
data__transitionRoutes,
data__description,
data__entryFulfillment,
data__advancedSettings,
projectsId,
locationsId,
agentsId,
flowsId,
languageCode
)
SELECT
'{{ eventHandlers }}',
'{{ form }}',
'{{ displayName }}',
'{{ transitionRouteGroups }}',
'{{ knowledgeConnectorSettings }}',
'{{ name }}',
'{{ transitionRoutes }}',
'{{ description }}',
'{{ entryFulfillment }}',
'{{ advancedSettings }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ agentsId }}',
'{{ flowsId }}',
'{{ languageCode }}'
RETURNING
name,
advancedSettings,
description,
displayName,
entryFulfillment,
eventHandlers,
form,
knowledgeConnectorSettings,
transitionRouteGroups,
transitionRoutes
;

UPDATE examples

No description available.

UPDATE google.dialogflow.pages
SET
data__eventHandlers = '{{ eventHandlers }}',
data__form = '{{ form }}',
data__displayName = '{{ displayName }}',
data__transitionRouteGroups = '{{ transitionRouteGroups }}',
data__knowledgeConnectorSettings = '{{ knowledgeConnectorSettings }}',
data__name = '{{ name }}',
data__transitionRoutes = '{{ transitionRoutes }}',
data__description = '{{ description }}',
data__entryFulfillment = '{{ entryFulfillment }}',
data__advancedSettings = '{{ advancedSettings }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND agentsId = '{{ agentsId }}' --required
AND flowsId = '{{ flowsId }}' --required
AND pagesId = '{{ pagesId }}' --required
AND updateMask = '{{ updateMask}}'
AND languageCode = '{{ languageCode}}'
RETURNING
name,
advancedSettings,
description,
displayName,
entryFulfillment,
eventHandlers,
form,
knowledgeConnectorSettings,
transitionRouteGroups,
transitionRoutes;

DELETE examples

No description available.

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