View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Conversation (google_api_dialogflow v0.77.0)

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.

Attributes

  • conversationProfile (type: String.t, default: nil) - Required. The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects//locations//conversationProfiles/.
  • conversationStage (type: String.t, default: nil) - The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
  • endTime (type: DateTime.t, default: nil) - Output only. The time the conversation was finished.
  • lifecycleState (type: String.t, default: nil) - Output only. The current state of the Conversation.
  • name (type: String.t, default: nil) - Output only. The unique identifier of this conversation. Format: projects//locations//conversations/.
  • phoneNumber (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationPhoneNumber.t, default: nil) - Output only. It will not be empty if the conversation is to be connected over telephony.
  • startTime (type: DateTime.t, default: nil) - Output only. The time the conversation was started.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Conversation{
  conversationProfile: String.t() | nil,
  conversationStage: String.t() | nil,
  endTime: DateTime.t() | nil,
  lifecycleState: String.t() | nil,
  name: String.t() | nil,
  phoneNumber:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationPhoneNumber.t()
    | nil,
  startTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.