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 | |
|---|---|
| Name | Description |
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.
Generated from protobuf field string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
| Returns | |
|---|---|
| Type | Description |
string |
|
setModel
Required. The name of the AutoML model that synthesizes the custom voice.
Generated from protobuf field string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReportedUsage
Optional. The usage of the synthesized audio to be reported.
Generated from protobuf field .google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage reported_usage = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
setReportedUsage
Optional. The usage of the synthesized audio to be reported.
Generated from protobuf field .google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage reported_usage = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|