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

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

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

Configuration for how the agent response should be synthesized.

Inheritance

object > SynthesizeSpeechConfig

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

SynthesizeSpeechConfig()

public SynthesizeSpeechConfig()

SynthesizeSpeechConfig(SynthesizeSpeechConfig)

public SynthesizeSpeechConfig(SynthesizeSpeechConfig other)
Parameter
Name Description
other SynthesizeSpeechConfig

Properties

SpeakingRate

public double SpeakingRate { get; set; }

Optional. The speaking rate/speed in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. Values outside of the range [0.25, 2.0] will return an error.

Property Value
Type Description
double

Voice

public string Voice { get; set; }

Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code.

For the list of available voices, please refer to Supported voices and languages from Cloud Text-to-Speech.

Property Value
Type Description
string