Class: Google::Cloud::Dialogflow::V2::WebhookRequest

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

Overview

The request message for a webhook call.

Instance Attribute Summary collapse

Instance Attribute Details

#original_detect_intent_request::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest

Returns Optional. The contents of the original request that was passed to [Streaming]DetectIntent call.

Returns:



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 44

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

#query_result::Google::Cloud::Dialogflow::V2::QueryResult

Returns The result of the conversational query or event processing. Contains the same value as [Streaming]DetectIntentResponse.query_result.

Returns:



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 44

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

#response_id::String

Returns The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.

Returns:

  • (::String)

    The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 44

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

#session::String

Returns The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: projects/<Project ID>/agent/sessions/<Session ID>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.

Returns:

  • (::String)

    The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: projects/<Project ID>/agent/sessions/<Session ID>, or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/webhook.rb', line 44

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