Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateCompanionAgentRequest.
Request message for UpdateCompanionAgent.
Generated from protobuf message google.cloud.dialogflow.v2.UpdateCompanionAgentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ companion_agent |
CompanionAgent
Required. The Companion Agent to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. Update mask for Companion Agent. |
getCompanionAgent
Required. The Companion Agent to update.
| Returns | |
|---|---|
| Type | Description |
CompanionAgent|null |
|
hasCompanionAgent
clearCompanionAgent
setCompanionAgent
Required. The Companion Agent to update.
| Parameter | |
|---|---|
| Name | Description |
var |
CompanionAgent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. Update mask for Companion Agent.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Update mask for Companion Agent.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
companionAgent |
CompanionAgent
Required. The Companion Agent to update. |
updateMask |
Google\Protobuf\FieldMask
Optional. Update mask for Companion Agent. |
| Returns | |
|---|---|
| Type | Description |
UpdateCompanionAgentRequest |
|