Cloud Text-to-Speech V1 Client - Class CustomVoiceParams (1.5.6)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class CustomVoiceParams.

Description of the custom voice to be synthesized.

Generated from protobuf message google.cloud.texttospeech.v1.CustomVoiceParams

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model string

Required. The name of the AutoML model that synthesizes the custom voice.

↳ reported_usage int

Optional. The usage of the synthesized audio to be reported.

getModel

Required. The name of the AutoML model that synthesizes the custom voice.

Returns
TypeDescription
string

setModel

Required. The name of the AutoML model that synthesizes the custom voice.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReportedUsage

Optional. The usage of the synthesized audio to be reported.

Returns
TypeDescription
int

setReportedUsage

Optional. The usage of the synthesized audio to be reported.

Parameter
NameDescription
var int
Returns
TypeDescription
$this