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:

Successful response

NameDatatypeDescription
namestringThe name of the deployment. Format: projects//locations//agents//environments//deployments/.
endTimestring (google-datetime)End time of this deployment.
flowVersionstringThe name of the flow version for this deployment. Format: projects//locations//agents//flows//versions/.
resultobjectResult of the deployment. (id: GoogleCloudDialogflowCxV3DeploymentResult)
startTimestring (google-datetime)Start time of this deployment.
statestringThe current state of the deployment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_environments_deployments_getselectprojectsId, locationsId, agentsId, environmentsId, deploymentsIdRetrieves the specified Deployment.
projects_locations_agents_environments_deployments_listselectprojectsId, locationsId, agentsId, environmentsIdpageSize, pageTokenReturns the list of all deployments in the specified Environment.

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

Retrieves the specified Deployment.

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;