Cloud Text-to-Speech V1 Client - Class SynthesizeLongAudioRequest (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class SynthesizeLongAudioRequest.
The top-level message sent by the client for the
SynthesizeLongAudio method.
Generated from protobuf message google.cloud.texttospeech.v1.SynthesizeLongAudioRequest
Namespace
Google \ Cloud \ TextToSpeech \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getParent
The resource states of the request in the form of
projects/*/locations/*.
Returns
Type
Description
string
setParent
The resource states of the request in the form of
projects/*/locations/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInput
Required. The Synthesizer requires either plain text or SSML as input.
Required. Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
Returns
Type
Description
string
setOutputGcsUri
Required. Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getVoice
Required. The desired voice of the synthesized audio.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]