GetConversationResult constructor

const GetConversationResult({
  1. required String conversationProfile,
  2. required String conversationStage,
  3. required String endTime,
  4. required String lifecycleState,
  5. required String name,
  6. required GoogleCloudDialogflowV2ConversationPhoneNumberResponse phoneNumber,
  7. required String startTime,
})

Creates a new GetConversationResult. conversationProfile The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: projects//locations//conversationProfiles/. conversationStage 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 The time the conversation was finished. lifecycleState The current state of the Conversation. name The unique identifier of this conversation. Format: projects//locations//conversations/. phoneNumber It will not be empty if the conversation is to be connected over telephony. startTime The time the conversation was started.

Implementation

const GetConversationResult({
  required this.conversationProfile,
  required this.conversationStage,
  required this.endTime,
  required this.lifecycleState,
  required this.name,
  required this.phoneNumber,
  required this.startTime,
});