Class: Google::Cloud::TextToSpeech::V1::MultispeakerPrebuiltVoice

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

Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.

Instance Attribute Summary collapse

Instance Attribute Details

#speaker_alias::String

Returns Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1".

Returns:

  • (::String)

    Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1".



194
195
196
197
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 194

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

#speaker_id::String

Returns Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.

Returns:



194
195
196
197
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 194

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