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
- (::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest) — Optional. The contents of the original request that was passed to
[Streaming]DetectIntentcall.
#original_detect_intent_request=
def original_detect_intent_request=(value) -> ::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest Parameter
- value (::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest) — Optional. The contents of the original request that was passed to
[Streaming]DetectIntentcall.
Returns
- (::Google::Cloud::Dialogflow::V2::OriginalDetectIntentRequest) — Optional. The contents of the original request that was passed to
[Streaming]DetectIntentcall.
#query_result
def query_result() -> ::Google::Cloud::Dialogflow::V2::QueryResult Returns
- (::Google::Cloud::Dialogflow::V2::QueryResult) — The result of the conversational query or event processing. Contains the same value as
[Streaming]DetectIntentResponse.query_result.
#query_result=
def query_result=(value) -> ::Google::Cloud::Dialogflow::V2::QueryResult Parameter
- value (::Google::Cloud::Dialogflow::V2::QueryResult) — The result of the conversational query or event processing. Contains the same value as
[Streaming]DetectIntentResponse.query_result.
Returns
- (::Google::Cloud::Dialogflow::V2::QueryResult) — The result of the conversational query or event processing. Contains the same value as
[Streaming]DetectIntentResponse.query_result.
#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>, orprojects/<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>, orprojects/<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>, orprojects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.