Skip to main content

environments

Overview

Nameenvironments
TypeResource
Idgoogle.dialogflow.environments

Fields

NameDatatypeDescription
namestringThe name of the environment. Format: projects//locations//agents//environments/.
descriptionstringThe human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
displayNamestringRequired. The human-readable name of the environment (unique in an agent). Limit of 64 characters.
testCasesConfigobjectThe configuration for continuous tests.
updateTimestringOutput only. Update time of this environment.
versionConfigsarrayA list of configurations for flow versions. You should include version configs for all flows that are reachable from Start Flow in the agent. Otherwise, an error will be returned.
webhookConfigobjectConfiguration for webhooks.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_agents_environments_getSELECTagentsId, environmentsId, locationsId, projectsIdRetrieves the specified Environment.
projects_locations_agents_environments_listSELECTagentsId, locationsId, projectsIdReturns the list of all environments in the specified Agent.
projects_locations_agents_environments_createINSERTagentsId, locationsId, projectsIdCreates an Environment in the specified Agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: Environment
projects_locations_agents_environments_deleteDELETEagentsId, environmentsId, locationsId, projectsIdDeletes the specified Environment.
_projects_locations_agents_environments_listEXECagentsId, locationsId, projectsIdReturns the list of all environments in the specified Agent.
projects_locations_agents_environments_deploy_flowEXECagentsId, environmentsId, locationsId, projectsIdDeploys a flow to the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeployFlowMetadata - response: DeployFlowResponse
projects_locations_agents_environments_lookup_environment_historyEXECagentsId, environmentsId, locationsId, projectsIdLooks up the history of the specified Environment.
projects_locations_agents_environments_patchEXECagentsId, environmentsId, locationsId, projectsIdUpdates the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: Environment
projects_locations_agents_environments_run_continuous_testEXECagentsId, environmentsId, locationsId, projectsIdKicks off a continuous test under the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: RunContinuousTestMetadata - response: RunContinuousTestResponse