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 \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parameters |
array<Form\Parameter>
Parameters to collect from the user. |
getParameters
Parameters to collect from the user.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setParameters
Parameters to collect from the user.
Parameter | |
---|---|
Name | Description |
var |
array<Form\Parameter>
|
Returns | |
---|---|
Type | Description |
$this |