Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::WebhookRequest (v0.27.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::WebhookRequest.

The request message for a webhook call.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#original_detect_intent_request

def original_detect_intent_request() -> ::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest
Returns

#original_detect_intent_request=

def original_detect_intent_request=(value) -> ::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest
Parameter
Returns

#query_result

def query_result() -> ::Google::Cloud::Dialogflow::V2::QueryResult
Returns

#query_result=

def query_result=(value) -> ::Google::Cloud::Dialogflow::V2::QueryResult
Parameter
Returns

#response_id

def response_id() -> ::String
Returns
  • (::String) — The unique identifier of the response. Contains the same value as [Streaming]DetectIntentResponse.response_id.

#response_id=

def response_id=(value) -> ::String
Parameter
  • value (::String) — 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.

#session

def session() -> ::String
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>.

#session=

def session=(value) -> ::String
Parameter
  • value (::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>.
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>.