Google Cloud Dialogflow Cx V3 Client - Class Form (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Form.

A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Form

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parameters array<Google\Cloud\Dialogflow\Cx\V3\Form\Parameter>

Parameters to collect from the user.

getParameters

Parameters to collect from the user.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

Parameters to collect from the user.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\Form\Parameter>
Returns
TypeDescription
$this