Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::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::V1::RecognitionAudio
Returns
- (::Google::Cloud::Speech::V1::RecognitionAudio) — Required. The audio data to be recognized.
#audio=
def audio=(value) -> ::Google::Cloud::Speech::V1::RecognitionAudio
Parameter
- value (::Google::Cloud::Speech::V1::RecognitionAudio) — Required. The audio data to be recognized.
Returns
- (::Google::Cloud::Speech::V1::RecognitionAudio) — Required. The audio data to be recognized.
#config
def config() -> ::Google::Cloud::Speech::V1::RecognitionConfig
Returns
- (::Google::Cloud::Speech::V1::RecognitionConfig) — Required. Provides information to the recognizer that specifies how to process the request.
#config=
def config=(value) -> ::Google::Cloud::Speech::V1::RecognitionConfig
Parameter
- value (::Google::Cloud::Speech::V1::RecognitionConfig) — Required. Provides information to the recognizer that specifies how to process the request.
Returns
- (::Google::Cloud::Speech::V1::RecognitionConfig) — Required. Provides information to the recognizer that specifies how to process the request.
#output_config
def output_config() -> ::Google::Cloud::Speech::V1::TranscriptOutputConfig
Returns
- (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Optional. Specifies an optional destination for the recognition results.
#output_config=
def output_config=(value) -> ::Google::Cloud::Speech::V1::TranscriptOutputConfig
Parameter
- value (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Optional. Specifies an optional destination for the recognition results.
Returns
- (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Optional. Specifies an optional destination for the recognition results.