Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PlaybookTransition.
Stores metadata of the transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.
Generated from protobuf message google.cloud.dialogflow.cx.v3.PlaybookTransition
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ playbook |
string
Required. The unique identifier of the playbook. Format: |
↳ display_name |
string
Output only. The display name of the playbook. |
getPlaybook
Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPlaybook
Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Output only. The display name of the playbook.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Output only. The display name of the playbook.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|