Class: Google::Cloud::TextToSpeech::V1::SynthesizeSpeechResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_content::String

Returns The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). 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 encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). 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.



331
332
333
334
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb', line 331

class SynthesizeSpeechResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end