Class SynthesizeSpeechRequest (2.4.0)

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

The top-level message sent by the client for the SynthesizeSpeech method.

Inheritance

Object > SynthesizeSpeechRequest

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

SynthesizeSpeechRequest()

public SynthesizeSpeechRequest()

SynthesizeSpeechRequest(SynthesizeSpeechRequest)

public SynthesizeSpeechRequest(SynthesizeSpeechRequest other)
Parameter
NameDescription
otherSynthesizeSpeechRequest

Properties

AudioConfig

public AudioConfig AudioConfig { get; set; }

Required. The configuration of the synthesized audio.

Property Value
TypeDescription
AudioConfig

Input

public SynthesisInput Input { get; set; }

Required. The Synthesizer requires either plain text or SSML as input.

Property Value
TypeDescription
SynthesisInput

Voice

public VoiceSelectionParams Voice { get; set; }

Required. The desired voice of the synthesized audio.

Property Value
TypeDescription
VoiceSelectionParams