Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::RecognizeResponse.
Response message for the Recognize method.
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.