Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CreatePlaybookVersionRequest.
The request message for Playbooks.CreatePlaybookVersion.
Generated from protobuf message google.cloud.dialogflow.cx.v3.CreatePlaybookVersionRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The playbook to create a version for. Format: |
↳ playbook_version |
PlaybookVersion
Required. The playbook version to create. |
getParent
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The playbook to create a version for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlaybookVersion
Required. The playbook version to create.
| Returns | |
|---|---|
| Type | Description |
PlaybookVersion|null |
|
hasPlaybookVersion
clearPlaybookVersion
setPlaybookVersion
Required. The playbook version to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PlaybookVersion
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The playbook to create a version for.
Format:
|
playbookVersion |
PlaybookVersion
Required. The playbook version to create. |
| Returns | |
|---|---|
| Type | Description |
CreatePlaybookVersionRequest |
|