Class: Google::Cloud::Texttospeech::V1::SynthesizeSpeechResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb

Overview

The message returned to the client by the +SynthesizeSpeech+ method.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_contentString

Returns The audio data bytes encoded as specified in the request, including the header (For LINEAR16 audio, we include the WAV header). Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Returns:

  • (String)

    The audio data bytes encoded as specified in the request, including the header (For LINEAR16 audio, we include the WAV header). Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.



151
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 151

class SynthesizeSpeechResponse; end