# Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::StreamingSynthesizeRequest (v1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.13.0 0.12.2 0.11.1 0.10.1 0.9.1 0.8.0 0.7.0 0.6.0 0.5.2 Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::StreamingSynthesizeRequest.

Request message for the `StreamingSynthesize` method. Multiple
`StreamingSynthesizeRequest` messages are sent in one call.
The first message must contain a `streaming_config` that
fully specifies the request configuration and must not contain `input`. All
subsequent messages must only have `input` set.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #input

    def input() -> ::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput

**Returns**

- ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesisInput)) --- Input to synthesize. Specified in all messages but the first in a `StreamingSynthesize` call.


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

### #input=

    def input=(value) -> ::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput

**Parameter**

- **value** ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesisInput)) --- Input to synthesize. Specified in all messages but the first in a `StreamingSynthesize` call.


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

- ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesisInput)) --- Input to synthesize. Specified in all messages but the first in a `StreamingSynthesize` call.


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

### #streaming_config

    def streaming_config() -> ::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig

**Returns**

- ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)) --- StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a `StreamingSynthesize` call.


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

### #streaming_config=

    def streaming_config=(value) -> ::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig

**Parameter**

- **value** ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)) --- StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a `StreamingSynthesize` call.


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

- ([::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)) --- StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a `StreamingSynthesize` call.


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