Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Step.
Message of single step execution.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Playbook.Step
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ PlaybookMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text |
string
Step instruction in text format. |
↳ steps |
array<Step>
Sub-processing needed to execute the current step. |
getText
Step instruction in text format.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasText
setText
Step instruction in text format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSteps
Sub-processing needed to execute the current step.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSteps
Sub-processing needed to execute the current step.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Step>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstruction
| Returns | |
|---|---|
| Type | Description |
string |
|