GetConversationDialogflowV2beta1Result class
Result data returned by getConversation.
Constructors
- GetConversationDialogflowV2beta1Result({required String conversationProfile, required String conversationStage, required String endTime, required String lifecycleState, required String name, required GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse phoneNumber, required String startTime})
-
Creates a new GetConversationDialogflowV2beta1Result.
conversationProfileThe Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:projects//locations//conversationProfiles/.conversationStageThe 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.endTimeThe time the conversation was finished.lifecycleStateThe current state of the Conversation.nameThe unique identifier of this conversation. Format:projects//locations//conversations/.phoneNumberRequired if the conversation is to be connected over telephony.startTimeThe time the conversation was started.const -
GetConversationDialogflowV2beta1Result.fromMap(Map<
String, dynamic> map) -
factory
Properties
- conversationProfile → String
-
The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format:
projects//locations//conversationProfiles/.final - conversationStage → String
-
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.
final
- endTime → String
-
The time the conversation was finished.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lifecycleState → String
-
The current state of the Conversation.
final
- name → String
-
The unique identifier of this conversation. Format:
projects//locations//conversations/.final - phoneNumber → GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse
-
Required if the conversation is to be connected over telephony.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → String
-
The time the conversation was started.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited