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-
(::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput) — Input to synthesize. Specified in all messages but the first in a
StreamingSynthesizecall.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-
value (::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput) — Input to synthesize. Specified in all messages but the first in a
StreamingSynthesizecall.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.
-
(::Google::Cloud::TextToSpeech::V1::StreamingSynthesisInput) — Input to synthesize. Specified in all messages but the first in a
StreamingSynthesizecall.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-
(::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig) — StreamingSynthesizeConfig to be used in this streaming attempt. Only
specified in the first message sent in a
StreamingSynthesizecall.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-
value (::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig) — StreamingSynthesizeConfig to be used in this streaming attempt. Only
specified in the first message sent in a
StreamingSynthesizecall.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.
-
(::Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig) — StreamingSynthesizeConfig to be used in this streaming attempt. Only
specified in the first message sent in a
StreamingSynthesizecall.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.