class ProjectsLocationsAgentsEnvironmentsDeployments extends Resource (View source)

The "deployments" collection of methods.

Typical usage is:

 $dialogflowService = new Google\Service\Dialogflow(...);
 $deployments = $dialogflowService->projects_locations_agents_environments_deployments;

Methods

get(string $name, array $optParams = [])

Retrieves the specified Deployment. (deployments.get)

listProjectsLocationsAgentsEnvironmentsDeployments(string $parent, array $optParams = [])

Returns the list of all deployments in the specified Environment.

Details

GoogleCloudDialogflowCxV3Deployment get(string $name, array $optParams = [])

Retrieves the specified Deployment. (deployments.get)

Parameters

string $name

Required. The name of the Deployment. Format: projects//locations//agents//environments//deployments/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3Deployment

Exceptions

Exception

GoogleCloudDialogflowCxV3ListDeploymentsResponse listProjectsLocationsAgentsEnvironmentsDeployments(string $parent, array $optParams = [])

Returns the list of all deployments in the specified Environment.

(deployments.listProjectsLocationsAgentsEnvironmentsDeployments)

Parameters

string $parent

Required. The Environment to list all environments for. Format: projects//locations//agents//environments/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3ListDeploymentsResponse

Exceptions

Exception