Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::RecognizeResponse (v0.18.1)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::RecognizeResponse.

The only message returned to the client by the Recognize method. It contains the result as zero or more sequential SpeechRecognitionResult messages.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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