Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SpeechConfig.
Configuration for speech generation.
Generated from protobuf message google.cloud.aiplatform.v1.SpeechConfig
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ voice_config
↳ language_code
string
Optional. The language code (ISO 639-1) for the speech synthesis.
↳ multi_speaker_voice_config
MultiSpeakerVoiceConfig
The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config
.
getVoiceConfig
The configuration for the voice to use.
hasVoiceConfig
clearVoiceConfig
setVoiceConfig
The configuration for the voice to use.
$this
getLanguageCode
Optional. The language code (ISO 639-1) for the speech synthesis.
string
setLanguageCode
Optional. The language code (ISO 639-1) for the speech synthesis.
var
string
$this
getMultiSpeakerVoiceConfig
The configuration for a multi-speaker text-to-speech request.
This field is mutually exclusive with voice_config
.
hasMultiSpeakerVoiceConfig
clearMultiSpeakerVoiceConfig
setMultiSpeakerVoiceConfig
The configuration for a multi-speaker text-to-speech request.
This field is mutually exclusive with voice_config
.
$this

