# Cloud Text-to-Speech V1beta1 API - Class Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesisInput (v0.31.0)

0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.1 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.0 0.16.0 0.15.2 0.14.0 0.13.2 0.12.1 0.11.1 0.10.1 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesisInput.

Input to be synthesized.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #markup

    def markup() -> ::String

**Returns**

- (::String) --- Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.

  Note: The following fields are mutually exclusive: `markup`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #markup=

    def markup=(value) -> ::String

**Parameter**

- **value** (::String) --- Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.


  Note: The following fields are mutually exclusive: `markup`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.

  Note: The following fields are mutually exclusive: `markup`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #multi_speaker_markup

    def multi_speaker_markup() -> ::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup

**Returns**

- ([::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1beta1/latest/Google-Cloud-TextToSpeech-V1beta1-MultiSpeakerMarkup)) --- Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.


  Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #multi_speaker_markup=

    def multi_speaker_markup=(value) -> ::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup

**Parameter**

- **value** ([::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1beta1/latest/Google-Cloud-TextToSpeech-V1beta1-MultiSpeakerMarkup)) --- Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.


  Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1beta1/latest/Google-Cloud-TextToSpeech-V1beta1-MultiSpeakerMarkup)) --- Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.


  Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #prompt

    def prompt() -> ::String

**Returns**

- (::String) --- This is system instruction supported only for controllable voice models.

### #prompt=

    def prompt=(value) -> ::String

**Parameter**

- **value** (::String) --- This is system instruction supported only for controllable voice models.
**Returns**

- (::String) --- This is system instruction supported only for controllable voice models.

### #text

    def text() -> ::String

**Returns**

- (::String) --- The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.

  Note: The following fields are mutually exclusive: `text`, `markup`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #text=

    def text=(value) -> ::String

**Parameter**

- **value** (::String) --- The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.


  Note: The following fields are mutually exclusive: `text`, `markup`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.

  Note: The following fields are mutually exclusive: `text`, `markup`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.