Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class AdvancedVoiceOptions.
Used for advanced voice options.
Generated from protobuf message google.cloud.texttospeech.v1.AdvancedVoiceOptions
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ low_latency_journey_synthesis
bool
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
↳ relax_safety_filters
bool
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 .
getLowLatencyJourneySynthesis
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
bool
hasLowLatencyJourneySynthesis
clearLowLatencyJourneySynthesis
setLowLatencyJourneySynthesis
Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
var
bool
$this
getRelaxSafetyFilters
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 .
bool
setRelaxSafetyFilters
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 .
var
bool
$this

