Class Google::Cloud::Dialogflow::V2::ConversationEvent (v0.12.0)

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

#new_message_payload=

def new_message_payload=(value) -> ::Google::Cloud::Dialogflow::V2::Message
Parameter
Returns

#type

def type() -> ::Google::Cloud::Dialogflow::V2::ConversationEvent::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationEvent::Type
Parameter
Returns