Google Cloud Text-to-Speech v1 API - Class AdvancedVoiceOptions (3.17.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 > AdvancedVoiceOptions

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

AdvancedVoiceOptions()

public AdvancedVoiceOptions()

AdvancedVoiceOptions(AdvancedVoiceOptions)

public AdvancedVoiceOptions(AdvancedVoiceOptions other)
Parameter
Name Description
other AdvancedVoiceOptions

Properties

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

public bool RelaxSafetyFilters { get; set; }

Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].

Property Value
Type Description
bool

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.