Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig.
Provides configuration information for the StreamingSynthesize request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#voice
def voice() -> ::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams
Returns
- (::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams) — Required. The desired voice of the synthesized audio.
#voice=
def voice=(value) -> ::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams
Parameter
- value (::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams) — Required. The desired voice of the synthesized audio.
Returns
- (::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams) — Required. The desired voice of the synthesized audio.