Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Instruction.
Message of the Instruction of the playbook.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Playbook.Instruction
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ PlaybookMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ guidelines |
string
General guidelines for the playbook. These are unstructured instructions that are not directly part of the goal, e.g. "Always be polite". It's valid for this text to be long and used instead of steps altogether. |
↳ steps |
array<Step>
Ordered list of step by step execution instructions to accomplish target goal. |
getGuidelines
General guidelines for the playbook. These are unstructured instructions that are not directly part of the goal, e.g. "Always be polite". It's valid for this text to be long and used instead of steps altogether.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGuidelines
General guidelines for the playbook. These are unstructured instructions that are not directly part of the goal, e.g. "Always be polite". It's valid for this text to be long and used instead of steps altogether.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSteps
Ordered list of step by step execution instructions to accomplish target goal.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSteps
Ordered list of step by step execution instructions to accomplish target goal.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Step>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|