class ProjectsLocationsAgentsTransitionRouteGroups extends Resource (View source)

The "transitionRouteGroups" collection of methods.

Typical usage is:

 $dialogflowService = new Google\Service\Dialogflow(...);
 $transitionRouteGroups = $dialogflowService->projects_locations_agents_transitionRouteGroups;

Methods

create(string $parent, GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody, array $optParams = [])

Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

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

Deletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

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

Retrieves the specified TransitionRouteGroup. (transitionRouteGroups.get)

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

Returns the list of all transition route groups in the specified flow.

patch(string $name, GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody, array $optParams = [])

Updates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

Details

GoogleCloudDialogflowCxV3TransitionRouteGroup create(string $parent, GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody, array $optParams = [])

Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the training documentation.

(transitionRouteGroups.create)

Parameters

string $parent

Required. The flow to create an TransitionRouteGroup for. Format: projects//locations//agents//flows/ or projects//locations//agents/ for agent-level groups.

GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3TransitionRouteGroup

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deletes the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

(transitionRouteGroups.delete)

Parameters

string $name

Required. The name of the TransitionRouteGroup to delete. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Retrieves the specified TransitionRouteGroup. (transitionRouteGroups.get)

Parameters

string $name

Required. The name of the TransitionRouteGroup. Format: projects//locations//agents//flows//transitionRouteGroups/ or projects//locations//agents//transitionRouteGroups/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3TransitionRouteGroup

Exceptions

Exception

GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse listProjectsLocationsAgentsTransitionRouteGroups(string $parent, array $optParams = [])

Returns the list of all transition route groups in the specified flow.

(transitionRouteGroups.listProjectsLocationsAgentsTransitionRouteGroups)

Parameters

string $parent

Required. The flow to list all transition route groups for. Format: projects//locations//agents//flows/ or `projects//locations//agents/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse

Exceptions

Exception

GoogleCloudDialogflowCxV3TransitionRouteGroup patch(string $name, GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody, array $optParams = [])

Updates the specified TransitionRouteGroup. Note: You should always train a flow prior to sending it queries. See the training documentation.

(transitionRouteGroups.patch)

Parameters

string $name

The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: projects//locations//agents//flows//transitionRouteGroups/ .

GoogleCloudDialogflowCxV3TransitionRouteGroup $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3TransitionRouteGroup

Exceptions

Exception