Skip to main content

deployments

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

Overview

Namedeployments
TypeResource
Idgoogle.dialogflow.deployments

Fields

NameDatatypeDescription
namestringThe name of the deployment. Format: projects//locations//agents//environments//deployments/.
endTimestringEnd time of this deployment.
flowVersionstringThe name of the flow version for this deployment. Format: projects//locations//agents//flows//versions/.
resultobjectResult of the deployment.
startTimestringStart time of this deployment.
statestringThe current state of the deployment.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_agents_environments_deployments_getSELECTagentsId, deploymentsId, environmentsId, locationsId, projectsIdRetrieves the specified Deployment.
projects_locations_agents_environments_deployments_listSELECTagentsId, environmentsId, locationsId, projectsIdReturns the list of all deployments in the specified Environment.

SELECT examples

Returns the list of all deployments in the specified Environment.

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