Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class UpdatePlaybookRequest.
The request message for Playbooks.UpdatePlaybook.
Generated from protobuf message google.cloud.dialogflow.cx.v3.UpdatePlaybookRequest
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ playbook |
Playbook
Required. The playbook to update. |
↳ update_mask |
Google\Protobuf\FieldMask
The mask to control which fields get updated. If the mask is not present, all fields will be updated. |
getPlaybook
Required. The playbook to update.
| Returns | |
|---|---|
| Type | Description |
Playbook|null |
|
hasPlaybook
clearPlaybook
setPlaybook
Required. The playbook to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Playbook
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The mask to control which fields get updated. If the mask is not present, all fields will be updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The mask to control which fields get updated. If the mask is not present, all fields will be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
playbook |
Playbook
Required. The playbook to update. |
updateMask |
Google\Protobuf\FieldMask
The mask to control which fields get updated. If the mask is not present, all fields will be updated. |
| Returns | |
|---|---|
| Type | Description |
UpdatePlaybookRequest |
|