Class: Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse
- Inherits:
-
Object
- Object
- Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb
Overview
The message returned to the client by the SynthesizeSpeech
method.
Instance Attribute Summary collapse
-
#audio_config ⇒ ::Google::Cloud::TextToSpeech::V1beta1::AudioConfig
The audio metadata of
audio_content
. -
#audio_content ⇒ ::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).
-
#timepoints ⇒ ::Array<::Google::Cloud::TextToSpeech::V1beta1::Timepoint>
A link between a position in the original request input and a corresponding time in the output audio.
Instance Attribute Details
#audio_config ⇒ ::Google::Cloud::TextToSpeech::V1beta1::AudioConfig
Returns The audio metadata of audio_content
.
350 351 352 353 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 350 class SynthesizeSpeechResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#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.
350 351 352 353 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 350 class SynthesizeSpeechResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#timepoints ⇒ ::Array<::Google::Cloud::TextToSpeech::V1beta1::Timepoint>
Returns A link between a position in the original request input and a corresponding
time in the output audio. It's only supported via <mark>
of SSML input.
350 351 352 353 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 350 class SynthesizeSpeechResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |