Class: Google::Cloud::TextToSpeech::V1::SynthesizeSpeechRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_config::Google::Cloud::TextToSpeech::V1::AudioConfig

Returns Required. The configuration of the synthesized audio.

Returns:



79
80
81
82
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 79

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input::Google::Cloud::TextToSpeech::V1::SynthesisInput

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

Returns:



79
80
81
82
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 79

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#voice::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams

Returns Required. The desired voice of the synthesized audio.

Returns:



79
80
81
82
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 79

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end