Cloud Text-to-Speech V1beta1 API - Class Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesizeRequest (v0.20.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::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::V1beta1::StreamingSynthesisInput
Returns
  • (::Google::Cloud::TextToSpeech::V1beta1::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::V1beta1::StreamingSynthesisInput
Parameter
  • value (::Google::Cloud::TextToSpeech::V1beta1::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::V1beta1::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::V1beta1::StreamingSynthesizeConfig
Returns
  • (::Google::Cloud::TextToSpeech::V1beta1::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::V1beta1::StreamingSynthesizeConfig
Parameter
  • value (::Google::Cloud::TextToSpeech::V1beta1::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::V1beta1::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.