Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::LongRunningRecognizeResponse.
The only message returned to the client by the LongRunningRecognize
method.
It contains the result as zero or more sequential SpeechRecognitionResult
messages. It is included in the result.response
field of the Operation
returned by the GetOperation
call of the google::longrunning::Operations
service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#output_config
def output_config() -> ::Google::Cloud::Speech::V1::TranscriptOutputConfig
- (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Original output config if present in the request.
#output_config=
def output_config=(value) -> ::Google::Cloud::Speech::V1::TranscriptOutputConfig
- value (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Original output config if present in the request.
- (::Google::Cloud::Speech::V1::TranscriptOutputConfig) — Original output config if present in the request.
#output_error
def output_error() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — If the transcript output fails this field contains the relevant error.
#output_error=
def output_error=(value) -> ::Google::Rpc::Status
- value (::Google::Rpc::Status) — If the transcript output fails this field contains the relevant error.
- (::Google::Rpc::Status) — If the transcript output fails this field contains the relevant error.
#request_id
def request_id() -> ::Integer
- (::Integer) — The ID associated with the request. This is a unique ID specific only to the given request.
#request_id=
def request_id=(value) -> ::Integer
- value (::Integer) — The ID associated with the request. This is a unique ID specific only to the given request.
- (::Integer) — The ID associated with the request. This is a unique ID specific only to the given request.
#results
def results() -> ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
- (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
#results=
def results=(value) -> ::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>
- value (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
- (::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>) — Sequential list of transcription results corresponding to sequential portions of audio.
#speech_adaptation_info
def speech_adaptation_info() -> ::Google::Cloud::Speech::V1::SpeechAdaptationInfo
- (::Google::Cloud::Speech::V1::SpeechAdaptationInfo) — Provides information on speech adaptation behavior in response
#speech_adaptation_info=
def speech_adaptation_info=(value) -> ::Google::Cloud::Speech::V1::SpeechAdaptationInfo
- value (::Google::Cloud::Speech::V1::SpeechAdaptationInfo) — Provides information on speech adaptation behavior in response
- (::Google::Cloud::Speech::V1::SpeechAdaptationInfo) — Provides information on speech adaptation behavior in response
#total_billed_time
def total_billed_time() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
#total_billed_time=
def total_billed_time=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.