Reference documentation and code samples for the Google Cloud Ces V1 Client class RespondImmediately.
The agent will immediately respond with a preconfigured response.
Generated from protobuf message google.cloud.ces.v1.TriggerAction.RespondImmediately
Namespace
Google \ Cloud \ Ces \ V1 \ TriggerActionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ responses |
array<Response>
Required. The canned responses for the agent to choose from. The response is chosen randomly. |
getResponses
Required. The canned responses for the agent to choose from. The response is chosen randomly.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setResponses
Required. The canned responses for the agent to choose from. The response is chosen randomly.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Response>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|