Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::BatchRecognizeResults.
Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#metadata
def metadata() -> ::Google::Cloud::Speech::V2::RecognitionResponseMetadata
Returns
- (::Google::Cloud::Speech::V2::RecognitionResponseMetadata) — Metadata about the recognition.
#metadata=
def metadata=(value) -> ::Google::Cloud::Speech::V2::RecognitionResponseMetadata
Parameter
- value (::Google::Cloud::Speech::V2::RecognitionResponseMetadata) — Metadata about the recognition.
Returns
- (::Google::Cloud::Speech::V2::RecognitionResponseMetadata) — Metadata about the recognition.
#results
def results() -> ::Array<::Google::Cloud::Speech::V2::SpeechRecognitionResult>
Returns
- (::Array<::Google::Cloud::Speech::V2::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
#results=
def results=(value) -> ::Array<::Google::Cloud::Speech::V2::SpeechRecognitionResult>
Parameter
- value (::Array<::Google::Cloud::Speech::V2::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
Returns
- (::Array<::Google::Cloud::Speech::V2::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.