Class: Google::Cloud::Speech::V1p1beta1::RecognizeResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#request_id::Integer

Returns 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.



683
684
685
686
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683

class RecognizeResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#results::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>

Returns Sequential list of transcription results corresponding to sequential portions of audio.

Returns:



683
684
685
686
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683

class RecognizeResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#speech_adaptation_info::Google::Cloud::Speech::V1p1beta1::SpeechAdaptationInfo

Returns Provides information on adaptation behavior in response.

Returns:



683
684
685
686
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683

class RecognizeResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#total_billed_time::Google::Protobuf::Duration

Returns When available, billed audio seconds for the corresponding request.

Returns:



683
684
685
686
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 683

class RecognizeResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end