Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::MultispeakerPrebuiltVoice (v1.13.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::MultispeakerPrebuiltVoice.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#speaker_alias

def speaker_alias() -> ::String
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".

#speaker_alias=

def speaker_alias=(value) -> ::String
Parameter
  • value (::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".
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".

#speaker_id

def speaker_id() -> ::String
Returns
  • (::String) — Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.

#speaker_id=

def speaker_id=(value) -> ::String
Parameter
  • value (::String) — Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
Returns
  • (::String) — Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.