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 Returns
- (::String) — The unique identifier of the conversation this notification refers to. Format:
projects/<Project ID>/conversations/<Conversation ID>.
#conversation=
def conversation=(value) -> ::String Parameter
- value (::String) — The unique identifier of the conversation this notification refers to. Format:
projects/<Project ID>/conversations/<Conversation ID>.
Returns
- (::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 Returns
- (::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 Parameter
- value (::Google::Rpc::Status) — More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
Returns
- (::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 Returns
- (::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
#new_message_payload=
def new_message_payload=(value) -> ::Google::Cloud::Dialogflow::V2::Message Parameter
- value (::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
Returns
- (::Google::Cloud::Dialogflow::V2::Message) — Payload of NEW_MESSAGE event.
#type
def type() -> ::Google::Cloud::Dialogflow::V2::ConversationEvent::Type Returns
- (::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 Parameter
- value (::Google::Cloud::Dialogflow::V2::ConversationEvent::Type) — The type of the event that this notification refers to.
Returns
- (::Google::Cloud::Dialogflow::V2::ConversationEvent::Type) — The type of the event that this notification refers to.