public sealed class SynthesizeSpeechRequest : IMessage<SynthesizeSpeechRequest>, IEquatable<SynthesizeSpeechRequest>, IDeepCloneable<SynthesizeSpeechRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class SynthesizeSpeechRequest.
The top-level message sent by the client for the SynthesizeSpeech method.
Implements
IMessageSynthesizeSpeechRequest, IEquatableSynthesizeSpeechRequest, IDeepCloneableSynthesizeSpeechRequest, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
SynthesizeSpeechRequest()
public SynthesizeSpeechRequest()SynthesizeSpeechRequest(SynthesizeSpeechRequest)
public SynthesizeSpeechRequest(SynthesizeSpeechRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SynthesizeSpeechRequest |
Properties
AdvancedVoiceOptions
public AdvancedVoiceOptions AdvancedVoiceOptions { get; set; }Advanced voice options.
| Property Value | |
|---|---|
| Type | Description |
AdvancedVoiceOptions |
|
AudioConfig
public AudioConfig AudioConfig { get; set; }Required. The configuration of the synthesized audio.
| Property Value | |
|---|---|
| Type | Description |
AudioConfig |
|
EnableTimePointing
public RepeatedField<SynthesizeSpeechRequest.Types.TimepointType> EnableTimePointing { get; }Whether and what timepoints are returned in the response.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldSynthesizeSpeechRequestTypesTimepointType |
|
Input
public SynthesisInput Input { get; set; }Required. The Synthesizer requires either plain text or SSML as input.
| Property Value | |
|---|---|
| Type | Description |
SynthesisInput |
|
Voice
public VoiceSelectionParams Voice { get; set; }Required. The desired voice of the synthesized audio.
| Property Value | |
|---|---|
| Type | Description |
VoiceSelectionParams |
|