Reference documentation and code samples for the Google Cloud Ces V1 Client class InterruptionSignal.
Indicates the agent's audio response has been interrupted. The client should immediately stop any current audio playback (e.g., due to user barge-in or a new agent response being generated).
Generated from protobuf message google.cloud.ces.v1.InterruptionSignal
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ barge_in |
bool
Whether the interruption is caused by a user barge-in event. |
getBargeIn
Whether the interruption is caused by a user barge-in event.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setBargeIn
Whether the interruption is caused by a user barge-in event.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|