# Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::LongRunningRecognizeRequest (v0.30.0)

0.30.0 (latest) 0.29.1 0.28.0 0.27.1 0.26.0 0.25.0 0.24.1 0.23.0 0.22.0 0.21.1 0.20.2 0.19.0 0.18.1 0.17.1 0.16.0 0.15.3 0.14.0 0.13.0 0.12.4 Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::LongRunningRecognizeRequest.

The top-level message sent by the client for the `LongRunningRecognize`
method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #audio

    def audio() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionAudio

**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::RecognitionAudio](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionAudio)) --- Required. The audio data to be recognized.

### #audio=

    def audio=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionAudio

**Parameter**

- **value** ([::Google::Cloud::Speech::V1p1beta1::RecognitionAudio](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionAudio)) --- Required. The audio data to be recognized.
**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::RecognitionAudio](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionAudio)) --- Required. The audio data to be recognized.

### #config

    def config() -> ::Google::Cloud::Speech::V1p1beta1::RecognitionConfig

**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::RecognitionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionConfig)) --- Required. Provides information to the recognizer that specifies how to process the request.

### #config=

    def config=(value) -> ::Google::Cloud::Speech::V1p1beta1::RecognitionConfig

**Parameter**

- **value** ([::Google::Cloud::Speech::V1p1beta1::RecognitionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionConfig)) --- Required. Provides information to the recognizer that specifies how to process the request.
**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::RecognitionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-RecognitionConfig)) --- Required. Provides information to the recognizer that specifies how to process the request.

### #output_config

    def output_config() -> ::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig

**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-TranscriptOutputConfig)) --- Optional. Specifies an optional destination for the recognition results.

### #output_config=

    def output_config=(value) -> ::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig

**Parameter**

- **value** ([::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-TranscriptOutputConfig)) --- Optional. Specifies an optional destination for the recognition results.
**Returns**

- ([::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-TranscriptOutputConfig)) --- Optional. Specifies an optional destination for the recognition results.