deployments
Creates, updates, deletes, gets or lists a deployments
resource.
Overview
Name | deployments |
Type | Resource |
Id | google.dialogflow.deployments |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_agents_environments_deployments_get
- projects_locations_agents_environments_deployments_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The name of the deployment. Format: projects//locations//agents//environments//deployments/. |
endTime | string (google-datetime) | End time of this deployment. |
flowVersion | string | The name of the flow version for this deployment. Format: projects//locations//agents//flows//versions/. |
result | object | Result of the deployment. (id: GoogleCloudDialogflowCxV3DeploymentResult) |
startTime | string (google-datetime) | Start time of this deployment. |
state | string | The current state of the deployment. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The name of the deployment. Format: projects//locations//agents//environments//deployments/. |
endTime | string (google-datetime) | End time of this deployment. |
flowVersion | string | The name of the flow version for this deployment. Format: projects//locations//agents//flows//versions/. |
result | object | Result of the deployment. (id: GoogleCloudDialogflowCxV3DeploymentResult) |
startTime | string (google-datetime) | Start time of this deployment. |
state | string | The current state of the deployment. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_agents_environments_deployments_get | select | projectsId , locationsId , agentsId , environmentsId , deploymentsId | Retrieves the specified Deployment. | |
projects_locations_agents_environments_deployments_list | select | projectsId , locationsId , agentsId , environmentsId | pageSize , pageToken | Returns 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.
Name | Datatype | Description |
---|---|---|
agentsId | string | |
deploymentsId | string | |
environmentsId | string | |
locationsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- projects_locations_agents_environments_deployments_get
- projects_locations_agents_environments_deployments_list
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;
Returns the list of all deployments in the specified Environment.
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 pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';