Gemini Enterprise for Customer Experience v1 API - Class AudioProcessingConfig (1.0.0-beta01)

public sealed class AudioProcessingConfig : IMessage<AudioProcessingConfig>, IEquatable<AudioProcessingConfig>, IDeepCloneable<AudioProcessingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class AudioProcessingConfig.

Configuration for how the input and output audio should be processed and delivered.

Inheritance

object > AudioProcessingConfig

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

AudioProcessingConfig()

public AudioProcessingConfig()

AudioProcessingConfig(AudioProcessingConfig)

public AudioProcessingConfig(AudioProcessingConfig other)
Parameter
Name Description
other AudioProcessingConfig

Properties

AmbientSoundConfig

public AmbientSoundConfig AmbientSoundConfig { get; set; }

Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.

Property Value
Type Description
AmbientSoundConfig

BargeInConfig

public BargeInConfig BargeInConfig { get; set; }

Optional. Configures the agent behavior for the user barge-in activities.

Property Value
Type Description
BargeInConfig

InactivityTimeout

public Duration InactivityTimeout { get; set; }

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.

Property Value
Type Description
Duration

SynthesizeSpeechConfigs

public MapField<string, SynthesizeSpeechConfig> SynthesizeSpeechConfigs { get; }

Optional. Configuration of how the agent response should be synthesized, mapping from the language code to [SynthesizeSpeechConfig][google.cloud.ces.v1.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.

Property Value
Type Description
MapFieldstringSynthesizeSpeechConfig