Class: Google::Cloud::Speech::V1::LongRunningRecognizeResponse

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

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#output_config::Google::Cloud::Speech::V1::TranscriptOutputConfig

Returns Original output config if present in the request.

Returns:



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

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

#output_error::Google::Rpc::Status

Returns If the transcript output fails this field contains the relevant error.

Returns:



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

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

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



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

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

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

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

Returns:



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

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

#speech_adaptation_info::Google::Cloud::Speech::V1::SpeechAdaptationInfo

Returns Provides information on speech adaptation behavior in response.

Returns:



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

class LongRunningRecognizeResponse
  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:



695
696
697
698
# File 'proto_docs/google/cloud/speech/v1/cloud_speech.rb', line 695

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