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

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

#request_id

def request_id() -> ::Integer
Returns
  • (::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
Parameter
  • value (::Integer) — The ID associated with the request. This is a unique ID specific only to the given request.
Returns
  • (::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::V1p1beta1::SpeechRecognitionResult>
Returns

#results=

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

#speech_adaptation_info

def speech_adaptation_info() -> ::Google::Cloud::Speech::V1p1beta1::SpeechAdaptationInfo
Returns

#speech_adaptation_info=

def speech_adaptation_info=(value) -> ::Google::Cloud::Speech::V1p1beta1::SpeechAdaptationInfo
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