Cloud Text-to-Speech V1beta1 API - Class Google::Cloud::TextToSpeech::V1beta1::StreamingSynthesizeResponse (v0.17.0)

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

StreamingSynthesizeResponse is the only message returned to the client by StreamingSynthesize method. A series of zero or more StreamingSynthesizeResponse messages are streamed back to the client.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio_content

def audio_content() -> ::String
Returns
  • (::String) — The audio data bytes encoded as specified in the request. This is headerless LINEAR16 audio with a sample rate of 24000.

#audio_content=

def audio_content=(value) -> ::String
Parameter
  • value (::String) — The audio data bytes encoded as specified in the request. This is headerless LINEAR16 audio with a sample rate of 24000.
Returns
  • (::String) — The audio data bytes encoded as specified in the request. This is headerless LINEAR16 audio with a sample rate of 24000.