public sealed class AdvancedVoiceOptions : IMessage<AdvancedVoiceOptions>, IEquatable<AdvancedVoiceOptions>, IDeepCloneable<AdvancedVoiceOptions>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class AdvancedVoiceOptions.
Used for advanced voice options.
Implements
IMessageAdvancedVoiceOptions, IEquatableAdvancedVoiceOptions, IDeepCloneableAdvancedVoiceOptions, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
AdvancedVoiceOptions()
public AdvancedVoiceOptions()AdvancedVoiceOptions(AdvancedVoiceOptions)
public AdvancedVoiceOptions(AdvancedVoiceOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
AdvancedVoiceOptions |
Properties
EnableTextnorm
public bool EnableTextnorm { get; set; }Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasEnableTextnorm
public bool HasEnableTextnorm { get; }Gets whether the "enable_textnorm" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasLowLatencyJourneySynthesis
public bool HasLowLatencyJourneySynthesis { get; }Gets whether the "low_latency_journey_synthesis" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
LowLatencyJourneySynthesis
public bool LowLatencyJourneySynthesis { get; set; }Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
RelaxSafetyFilters
[Obsolete]
public bool RelaxSafetyFilters { get; set; }Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
SafetySettings
public AdvancedVoiceOptions.Types.SafetySettings SafetySettings { get; set; }Optional. Input only. This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.
| Property Value | |
|---|---|
| Type | Description |
AdvancedVoiceOptionsTypesSafetySettings |
|