Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SpeechConfig.
Configuration for speech generation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#language_code
def language_code() -> ::String
Returns
- (::String) — Optional. The language code (ISO 639-1) for the speech synthesis.
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::String) — Optional. The language code (ISO 639-1) for the speech synthesis.
Returns
- (::String) — Optional. The language code (ISO 639-1) for the speech synthesis.
#multi_speaker_voice_config
def multi_speaker_voice_config() -> ::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig
Returns
-
(::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig) — The configuration for a multi-speaker text-to-speech request.
This field is mutually exclusive with
voice_config.
#multi_speaker_voice_config=
def multi_speaker_voice_config=(value) -> ::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig
Parameter
-
value (::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig) — The configuration for a multi-speaker text-to-speech request.
This field is mutually exclusive with
voice_config.
Returns
-
(::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig) — The configuration for a multi-speaker text-to-speech request.
This field is mutually exclusive with
voice_config.
#voice_config
def voice_config() -> ::Google::Cloud::AIPlatform::V1::VoiceConfig
Returns
- (::Google::Cloud::AIPlatform::V1::VoiceConfig) — The configuration for the voice to use.
#voice_config=
def voice_config=(value) -> ::Google::Cloud::AIPlatform::V1::VoiceConfig
Parameter
- value (::Google::Cloud::AIPlatform::V1::VoiceConfig) — The configuration for the voice to use.
Returns
- (::Google::Cloud::AIPlatform::V1::VoiceConfig) — The configuration for the voice to use.