Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Conversation (v1.1.0)

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

Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#conversation_profile

def conversation_profile() -> ::String
Returns
  • (::String) — Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

#conversation_profile=

def conversation_profile=(value) -> ::String
Parameter
  • value (::String) — Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.
Returns
  • (::String) — Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

#conversation_stage

def conversation_stage() -> ::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage
Returns

#conversation_stage=

def conversation_stage=(value) -> ::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage
Parameter
Returns

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#lifecycle_state

def lifecycle_state() -> ::Google::Cloud::Dialogflow::V2::Conversation::LifecycleState
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. Identifier. The unique identifier of this conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

#phone_number

def phone_number() -> ::Google::Cloud::Dialogflow::V2::ConversationPhoneNumber
Returns

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns