0.3.0 (latest) 0.2.1 0.1.0 Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::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::V1::AmbientSoundConfig

**Returns**

- ([::Google::Cloud::Ces::V1::AmbientSoundConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-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::V1::AmbientSoundConfig

**Parameter**

- **value** ([::Google::Cloud::Ces::V1::AmbientSoundConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-AmbientSoundConfig)) --- Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
**Returns**

- ([::Google::Cloud::Ces::V1::AmbientSoundConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-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::V1::BargeInConfig

**Returns**

- ([::Google::Cloud::Ces::V1::BargeInConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-BargeInConfig)) --- Optional. Configures the agent behavior for the user barge-in activities.

### #barge_in_config=

    def barge_in_config=(value) -> ::Google::Cloud::Ces::V1::BargeInConfig

**Parameter**

- **value** ([::Google::Cloud::Ces::V1::BargeInConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-BargeInConfig)) --- Optional. Configures the agent behavior for the user barge-in activities.
**Returns**

- ([::Google::Cloud::Ces::V1::BargeInConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-BargeInConfig)) --- Optional. Configures the agent behavior for the user barge-in activities.

### #inactivity_timeout

    def inactivity_timeout() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/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::V1::SynthesizeSpeechConfig}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::Ces::V1::SynthesizeSpeechConfig}) --- Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-SynthesizeSpeechConfig "Google::Cloud::Ces::V1::SynthesizeSpeechConfig (class)").


  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::V1::SynthesizeSpeechConfig}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Cloud::Ces::V1::SynthesizeSpeechConfig}) --- Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-SynthesizeSpeechConfig "Google::Cloud::Ces::V1::SynthesizeSpeechConfig (class)").


  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::V1::SynthesizeSpeechConfig}) --- Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-ces-v1/latest/Google-Cloud-Ces-V1-SynthesizeSpeechConfig "Google::Cloud::Ces::V1::SynthesizeSpeechConfig (class)").


  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.