Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::AudioProcessingConfig (v0.1.0)

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
Returns

#ambient_sound_config=

def ambient_sound_config=(value) -> ::Google::Cloud::Ces::V1beta::AmbientSoundConfig
Parameter
Returns

#barge_in_config

def barge_in_config() -> ::Google::Cloud::Ces::V1beta::BargeInConfig
Returns

#barge_in_config=

def barge_in_config=(value) -> ::Google::Cloud::Ces::V1beta::BargeInConfig
Parameter
Returns

#inactivity_timeout

def inactivity_timeout() -> ::Google::Protobuf::Duration
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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}
Returns
  • (::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}
Parameter
  • 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.

Returns
  • (::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.