Class: Google::Cloud::Dialogflow::V2::StreamingDetectIntentResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/session.rb

Overview

The top-level message returned from the StreamingDetectIntent method.

Multiple response messages can be returned in order:

  1. If the input was set to streaming audio, the first one or more messages contain recognition_result. Each recognition_result represents a more complete transcript of what the user said. The last recognition_result has is_final set to true.

  2. The next message contains response_id, query_result and optionally webhook_status if a WebHook was called.

Instance Attribute Summary collapse

Instance Attribute Details

#output_audioString



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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

#output_audio_configGoogle::Cloud::Dialogflow::V2::OutputAudioConfig



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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

#query_resultGoogle::Cloud::Dialogflow::V2::QueryResult



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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

#recognition_resultGoogle::Cloud::Dialogflow::V2::StreamingRecognitionResult



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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

#response_idString



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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

#webhook_statusGoogle::Rpc::Status



381
382
383
384
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 381

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