Class: Google::Cloud::Speech::V2::InlineResult

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::String)

    The transcript for the audio file as SRT formatted captions. This is populated only when SRT output is requested.



1132
1133
1134
1135
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1132

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.

Returns:



1132
1133
1134
1135
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1132

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.

Returns:

  • (::String)

    The transcript for the audio file as VTT formatted captions. This is populated only when VTT output is requested.



1132
1133
1134
1135
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1132

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