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
| Name | Datatype | Description |
|---|---|---|
name | string | |
endTime | string (google-datetime) | |
flowVersion | string | |
result | object | (id: GoogleCloudDialogflowCxV3DeploymentResult) |
startTime | string (google-datetime) | |
state | string | (STATE_UNSPECIFIED, RUNNING, SUCCEEDED, FAILED) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
endTime | string (google-datetime) | |
flowVersion | string | |
result | object | (id: GoogleCloudDialogflowCxV3DeploymentResult) |
startTime | string (google-datetime) | |
state | string | (STATE_UNSPECIFIED, RUNNING, SUCCEEDED, FAILED) |
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 | ||
projects_locations_agents_environments_deployments_list | select | projectsId, locationsId, agentsId, environmentsId | pageToken, 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.
| 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
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
;
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 pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;