GoogleCloudDialogflowV2beta1AutomatedAgentConfig class
Defines the Automated Agent to connect to a conversation.
Constructors
-
GoogleCloudDialogflowV2beta1AutomatedAgentConfig({required Input<
String> agent, Input<String> ? sessionTtl}) -
Creates a new GoogleCloudDialogflowV2beta1AutomatedAgentConfig.
agentID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grantservice-@gcp-sa-dialogflow.iam.gserviceaccount.comtheDialogflow API Service Agentrole in this project. - For ES agents, use format:projects//locations//agent/environments/. If environment is not specified, the defaultdraftenvironment is used. Refer to DetectIntentRequest for more details. - For CX agents, use formatprojects//locations//agents//environments/. If environment is not specified, the defaultdraftenvironment is used.sessionTtlOptional. Sets Dialogflow CX session life time. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.const -
GoogleCloudDialogflowV2beta1AutomatedAgentConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
agent
→ Input<
String> -
ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant
service-@gcp-sa-dialogflow.iam.gserviceaccount.comtheDialogflow API Service Agentrole in this project. - For ES agents, use format:projects//locations//agent/environments/. If environment is not specified, the defaultdraftenvironment is used. Refer to DetectIntentRequest for more details. - For CX agents, use formatprojects//locations//agents//environments/. If environment is not specified, the defaultdraftenvironment is used.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionTtl
→ Input<
String> ? -
Optional. Sets Dialogflow CX session life time. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
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