Skip to main content

deployments

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

Overview

Namedeployments
TypeResource
Idgoogle.dialogflow.deployments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
endTimestring (google-datetime)
flowVersionstring
resultobject (id: GoogleCloudDialogflowCxV3DeploymentResult)
startTimestring (google-datetime)
statestring (STATE_UNSPECIFIED, RUNNING, SUCCEEDED, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_environments_deployments_getselectprojectsId, locationsId, agentsId, environmentsId, deploymentsId
projects_locations_agents_environments_deployments_listselectprojectsId, locationsId, agentsId, environmentsIdpageToken, pageSize

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
deploymentsIdstring
environmentsIdstring
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Successful response

SELECT
name,
endTime,
flowVersion,
result,
startTime,
state
FROM google.dialogflow.deployments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND environmentsId = '{{ environmentsId }}' -- required
AND deploymentsId = '{{ deploymentsId }}' -- required
;