# Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::BatchRecognizeResults (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-RecognitionResponseMetadata)) --- Metadata about the recognition.
**Returns**

- ([::Google::Cloud::Speech::V2::RecognitionResponseMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-SpeechRecognitionResult)\>) --- Sequential list of transcription results corresponding to sequential portions of audio.
**Returns**

- (::Array\<[::Google::Cloud::Speech::V2::SpeechRecognitionResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-SpeechRecognitionResult)\>) --- Sequential list of transcription results corresponding to sequential portions of audio.