Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AudioProcessingConfig.
Configuration for how the input and output audio should be processed and delivered.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ambient_sound_config
def ambient_sound_config() -> ::Google::Cloud::Ces::V1beta::AmbientSoundConfig- (::Google::Cloud::Ces::V1beta::AmbientSoundConfig) — Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
#ambient_sound_config=
def ambient_sound_config=(value) -> ::Google::Cloud::Ces::V1beta::AmbientSoundConfig- value (::Google::Cloud::Ces::V1beta::AmbientSoundConfig) — Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
- (::Google::Cloud::Ces::V1beta::AmbientSoundConfig) — Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
#barge_in_config
def barge_in_config() -> ::Google::Cloud::Ces::V1beta::BargeInConfig- (::Google::Cloud::Ces::V1beta::BargeInConfig) — Optional. Configures the agent behavior for the user barge-in activities.
#barge_in_config=
def barge_in_config=(value) -> ::Google::Cloud::Ces::V1beta::BargeInConfig- value (::Google::Cloud::Ces::V1beta::BargeInConfig) — Optional. Configures the agent behavior for the user barge-in activities.
- (::Google::Cloud::Ces::V1beta::BargeInConfig) — Optional. Configures the agent behavior for the user barge-in activities.
#inactivity_timeout
def inactivity_timeout() -> ::Google::Protobuf::Duration- (::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.
#inactivity_timeout=
def inactivity_timeout=(value) -> ::Google::Protobuf::Duration- value (::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.
- (::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.
#synthesize_speech_configs
def synthesize_speech_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::SynthesizeSpeechConfig}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::SynthesizeSpeechConfig}) — 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.
#synthesize_speech_configs=
def synthesize_speech_configs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::SynthesizeSpeechConfig}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::SynthesizeSpeechConfig}) — 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.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Ces::V1beta::SynthesizeSpeechConfig}) — 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.