ProjectsLocationsAgentsEnvironments
class ProjectsLocationsAgentsEnvironments extends Resource (View source)
The "environments" collection of methods.
Typical usage is:
$dialogflowService = new Google\Service\Dialogflow(...);
$environments = $dialogflowService->projects_locations_agents_environments;
Methods
Creates 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
(environments.create)
Deletes the specified Environment. (environments.delete)
Deploys 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
(environments.deployFlow)
Retrieves the specified Environment. (environments.get)
Returns the list of all environments in the specified Agent.
Looks up the history of the specified Environment.
Updates 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
(environments.patch)
Kicks 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 (environments.runContinuousTest)
Details
GoogleLongrunningOperation
create(string $parent, GoogleCloudDialogflowCxV3Environment $postBody, array $optParams = [])
Creates 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
(environments.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes the specified Environment. (environments.delete)
GoogleLongrunningOperation
deployFlow(string $environment, GoogleCloudDialogflowCxV3DeployFlowRequest $postBody, array $optParams = [])
Deploys 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
(environments.deployFlow)
GoogleCloudDialogflowCxV3Environment
get(string $name, array $optParams = [])
Retrieves the specified Environment. (environments.get)
GoogleCloudDialogflowCxV3ListEnvironmentsResponse
listProjectsLocationsAgentsEnvironments(string $parent, array $optParams = [])
Returns the list of all environments in the specified Agent.
(environments.listProjectsLocationsAgentsEnvironments)
GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse
lookupEnvironmentHistory(string $name, array $optParams = [])
Looks up the history of the specified Environment.
(environments.lookupEnvironmentHistory)
GoogleLongrunningOperation
patch(string $name, GoogleCloudDialogflowCxV3Environment $postBody, array $optParams = [])
Updates 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
(environments.patch)
GoogleLongrunningOperation
runContinuousTest(string $environment, GoogleCloudDialogflowCxV3RunContinuousTestRequest $postBody, array $optParams = [])
Kicks 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 (environments.runContinuousTest)