Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::InlineResult.
Final results returned inline in the recognition response.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#transcript
def transcript() -> ::Google::Cloud::Speech::V2::BatchRecognizeResults
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file.
#transcript=
def transcript=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeResults
Parameter
- value (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file.
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file.