Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::LongRunningRecognizeResponse (v0.12.4)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::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::V1p1beta1::TranscriptOutputConfig
Returns

#output_config=

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

#output_error

def output_error() -> ::Google::Rpc::Status
Returns

#output_error=

def output_error=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — If the transcript output fails this field contains the relevant error.
Returns

#results

def results() -> ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>
Returns

#results=

def results=(value) -> ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>
Parameter
Returns

#total_billed_time

def total_billed_time() -> ::Google::Protobuf::Duration
Returns

#total_billed_time=

def total_billed_time=(value) -> ::Google::Protobuf::Duration
Parameter
Returns