Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ReplicatedVoiceConfig.
The configuration for the replicated voice to use.
Generated from protobuf message google.cloud.aiplatform.v1.ReplicatedVoiceConfig
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mime_type |
string
Optional. The mimetype of the voice sample. The only currently supported value is |
↳ voice_sample_audio |
string
Optional. The sample of the custom voice. |
getMimeType
Optional. The mimetype of the voice sample. The only currently supported
value is audio/wav. This represents 16-bit signed little-endian wav data,
with a 24kHz sampling rate. mime_type will default to audio/wav if not
set.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMimeType
Optional. The mimetype of the voice sample. The only currently supported
value is audio/wav. This represents 16-bit signed little-endian wav data,
with a 24kHz sampling rate. mime_type will default to audio/wav if not
set.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVoiceSampleAudio
Optional. The sample of the custom voice.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVoiceSampleAudio
Optional. The sample of the custom voice.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|