# Google Cloud Text-to-Speech v1 API - Class AdvancedVoiceOptions (3.18.0)

3.18.0 (latest) 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.5.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class AdvancedVoiceOptions.

Used for advanced voice options.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AdvancedVoiceOptions

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdvancedVoiceOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdvancedVoiceOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdvancedVoiceOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.TextToSpeech.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1)

## Assembly

Google.Cloud.TextToSpeech.V1.dll

## Constructors

### AdvancedVoiceOptions()

    public AdvancedVoiceOptions()

### AdvancedVoiceOptions(AdvancedVoiceOptions)

    public AdvancedVoiceOptions(AdvancedVoiceOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasEnableTextnorm

    public bool HasEnableTextnorm { get; }

Gets whether the "enable_textnorm" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasLowLatencyJourneySynthesis

    public bool HasLowLatencyJourneySynthesis { get; }

Gets whether the "low_latency_journey_synthesis" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1/latest/Google.Cloud.TextToSpeech.V1.AdvancedVoiceOptions.Types.SafetySettings` |   |