Reference documentation and code samples for the Google Cloud Ces V1 Client class AudioProcessingConfig.
Configuration for how the input and output audio should be processed and delivered.
Generated from protobuf message google.cloud.ces.v1.AudioProcessingConfig
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ synthesize_speech_configs |
array|Google\Protobuf\Internal\MapField
Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig. If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive. |
↳ barge_in_config |
BargeInConfig
Optional. Configures the agent behavior for the user barge-in activities. |
↳ inactivity_timeout |
Google\Protobuf\Duration
Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement. |
↳ ambient_sound_config |
AmbientSoundConfig
Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation. |
getSynthesizeSpeechConfigs
Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setSynthesizeSpeechConfigs
Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBargeInConfig
Optional. Configures the agent behavior for the user barge-in activities.
| Returns | |
|---|---|
| Type | Description |
BargeInConfig|null |
|
hasBargeInConfig
clearBargeInConfig
setBargeInConfig
Optional. Configures the agent behavior for the user barge-in activities.
| Parameter | |
|---|---|
| Name | Description |
var |
BargeInConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInactivityTimeout
Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasInactivityTimeout
clearInactivityTimeout
setInactivityTimeout
Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAmbientSoundConfig
Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
| Returns | |
|---|---|
| Type | Description |
AmbientSoundConfig|null |
|
hasAmbientSoundConfig
clearAmbientSoundConfig
setAmbientSoundConfig
Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
| Parameter | |
|---|---|
| Name | Description |
var |
AmbientSoundConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|