Class AudioProcessingConfig (0.3.0)

AudioProcessingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
synthesize_speech_configs MutableMapping[str, google.cloud.ces_v1beta.types.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.
barge_in_config google.cloud.ces_v1beta.types.BargeInConfig
Optional. Configures the agent behavior for the user barge-in activities.
inactivity_timeout google.protobuf.duration_pb2.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 google.cloud.ces_v1beta.types.AmbientSoundConfig
Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.

Classes

SynthesizeSpeechConfigsEntry

SynthesizeSpeechConfigsEntry(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.