Class: Google::Cloud::Speech::V1p1beta1::LongRunningRecognizeResponse

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 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::V1p1beta1::TranscriptOutputConfig

Returns Original output config if present in the request.

Returns:



651
652
653
654
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 651

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:



651
652
653
654
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 651

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



651
652
653
654
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 651

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:



651
652
653
654
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 651

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