Class: Google::Cloud::Texttospeech::V1::SynthesizeSpeechRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb

Overview

The top-level message sent by the client for the +SynthesizeSpeech+ method.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_configGoogle::Cloud::Texttospeech::V1::AudioConfig

Returns Required. The configuration of the synthesized audio.

Returns:



76
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 76

class SynthesizeSpeechRequest; end

#inputGoogle::Cloud::Texttospeech::V1::SynthesisInput

Returns Required. The Synthesizer requires either plain text or SSML as input.

Returns:



76
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 76

class SynthesizeSpeechRequest; end

#voiceGoogle::Cloud::Texttospeech::V1::VoiceSelectionParams

Returns Required. The desired voice of the synthesized audio.

Returns:



76
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 76

class SynthesizeSpeechRequest; end