Cloud Text-to-Speech V1 Client - Class AdvancedVoiceOptions (2.2.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

getLowLatencyJourneySynthesis

Only for Journey voices. If false, the synthesis is context aware and has a higher latency.

Returns
Type Description
bool

hasLowLatencyJourneySynthesis

clearLowLatencyJourneySynthesis

setLowLatencyJourneySynthesis

Only for Journey voices. If false, the synthesis is context aware and has a higher latency.

Parameter
Name Description
var bool
Returns
Type Description
$this