Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ConversationEvent.
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#conversation
def conversation() -> ::String
-
(::String) — The unique identifier of the conversation this notification
refers to.
Format:
projects/<Project ID>/conversations/<Conversation ID>
.
#conversation=
def conversation=(value) -> ::String
-
value (::String) — The unique identifier of the conversation this notification
refers to.
Format:
projects/<Project ID>/conversations/<Conversation ID>
.
-
(::String) — The unique identifier of the conversation this notification
refers to.
Format:
projects/<Project ID>/conversations/<Conversation ID>
.
#error_status
def error_status() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
#error_status=
def error_status=(value) -> ::Google::Rpc::Status
- value (::Google::Rpc::Status) — More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
- (::Google::Rpc::Status) — More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
#new_message_payload
def new_message_payload() -> ::Google::Cloud::Dialogflow::V2::Message
-
(::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
Note: The following fields are mutually exclusive:
new_message_payload
,new_recognition_result_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_message_payload=
def new_message_payload=(value) -> ::Google::Cloud::Dialogflow::V2::Message
-
value (::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
Note: The following fields are mutually exclusive:
new_message_payload
,new_recognition_result_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
Note: The following fields are mutually exclusive:
new_message_payload
,new_recognition_result_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_recognition_result_payload
def new_recognition_result_payload() -> ::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult
-
(::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — Payload of NEW_RECOGNITION_RESULT event.
Note: The following fields are mutually exclusive:
new_recognition_result_payload
,new_message_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#new_recognition_result_payload=
def new_recognition_result_payload=(value) -> ::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult
-
value (::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — Payload of NEW_RECOGNITION_RESULT event.
Note: The following fields are mutually exclusive:
new_recognition_result_payload
,new_message_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — Payload of NEW_RECOGNITION_RESULT event.
Note: The following fields are mutually exclusive:
new_recognition_result_payload
,new_message_payload
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#type
def type() -> ::Google::Cloud::Dialogflow::V2::ConversationEvent::Type
- (::Google::Cloud::Dialogflow::V2::ConversationEvent::Type) — The type of the event that this notification refers to.
#type=
def type=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationEvent::Type
- value (::Google::Cloud::Dialogflow::V2::ConversationEvent::Type) — The type of the event that this notification refers to.
- (::Google::Cloud::Dialogflow::V2::ConversationEvent::Type) — The type of the event that this notification refers to.