Class: Google::Cloud::Speech::V2::InlineResult
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::InlineResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v2/cloud_speech.rb
Overview
Final results returned inline in the recognition response.
Instance Attribute Summary collapse
-
#srt_captions ⇒ ::String
The transcript for the audio file as SRT formatted captions.
-
#transcript ⇒ ::Google::Cloud::Speech::V2::BatchRecognizeResults
The transcript for the audio file.
-
#vtt_captions ⇒ ::String
The transcript for the audio file as VTT formatted captions.
Instance Attribute Details
#srt_captions ⇒ ::String
Returns The transcript for the audio file as SRT formatted captions. This is
populated only when SRT
output is requested.
1153 1154 1155 1156 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1153 class InlineResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transcript ⇒ ::Google::Cloud::Speech::V2::BatchRecognizeResults
Returns The transcript for the audio file.
1153 1154 1155 1156 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1153 class InlineResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#vtt_captions ⇒ ::String
Returns The transcript for the audio file as VTT formatted captions. This is
populated only when VTT
output is requested.
1153 1154 1155 1156 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1153 class InlineResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |