Class: Google::Cloud::Dialogflow::V2::DetectIntentResponse

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 message returned from the DetectIntent method.

Instance Attribute Summary collapse

Instance Attribute Details

#output_audioString

Returns The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the query_result.fulfillment_messages field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty.

Returns:

  • (String)

    The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the query_result.fulfillment_messages field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty.



97
98
99
100
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 97

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

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

Returns The config used by the speech synthesizer to generate the output audio.

Returns:



97
98
99
100
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 97

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

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

Returns The selected results of the conversational query or event processing. See alternative_query_results for additional potential results.

Returns:



97
98
99
100
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 97

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

#response_idString

Returns The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.

Returns:

  • (String)

    The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.



97
98
99
100
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 97

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

#webhook_statusGoogle::Rpc::Status

Returns Specifies the status of the webhook request.

Returns:



97
98
99
100
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 97

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