class ProjectsLocationsAgentsFlowsPages extends Resource (View source)

The "pages" collection of methods.

Typical usage is:

 $dialogflowService = new Google\Service\Dialogflow(...);
 $pages = $dialogflowService->projects_locations_agents_flows_pages;

Methods

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

Creates a page 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 page. Note: You should always train a flow prior to sending it queries. See the training documentation.

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

Retrieves the specified page. (pages.get)

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

Returns the list of all pages in the specified flow.

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

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

Details

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

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

(pages.create)

Parameters

string $parent

Required. The flow to create a page for. Format: projects//locations//agents//flows/.

GoogleCloudDialogflowCxV3Page $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3Page

Exceptions

Exception

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

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

(pages.delete)

Parameters

string $name

Required. The name of the page to delete. Format: projects//locations//agents//Flows//pages/.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Retrieves the specified page. (pages.get)

Parameters

string $name

Required. The name of the page. Format: projects//locations//agents//flows//pages/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3Page

Exceptions

Exception

GoogleCloudDialogflowCxV3ListPagesResponse listProjectsLocationsAgentsFlowsPages(string $parent, array $optParams = [])

Returns the list of all pages in the specified flow.

(pages.listProjectsLocationsAgentsFlowsPages)

Parameters

string $parent

Required. The flow to list all pages for. Format: projects//locations//agents//flows/.

array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3ListPagesResponse

Exceptions

Exception

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

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

(pages.patch)

Parameters

string $name

The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: projects//locations//agents//flows//pages/.

GoogleCloudDialogflowCxV3Page $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDialogflowCxV3Page

Exceptions

Exception