public sealed class AutomatedAgentConfig : IMessage<AutomatedAgentConfig>, IEquatable<AutomatedAgentConfig>, IDeepCloneable<AutomatedAgentConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class AutomatedAgentConfig.
Defines the Automated Agent to connect to a conversation.
Required. 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-<Conversation Project
Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow API
Service Agent role in this project.
For ES agents, use format: projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID or '-'>. If environment is not
specified, the default draft environment is used. Refer to
DetectIntentRequest
for more details.
For CX agents, use format projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID
or '-'>. If environment is not specified, the default draft environment
is used.
Optional. Configure lifetime of the Dialogflow session.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.24.0 and other versions listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class is used to define the automated agent that connects to a conversation, and it implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eAgent\u003c/code\u003e (the ID of the Dialogflow agent environment), \u003ccode\u003eAgentAsAgentName\u003c/code\u003e (a typed view over the Agent resource name), and \u003ccode\u003eSessionTtl\u003c/code\u003e (to configure the lifetime of the Dialogflow session).\u003c/p\u003e\n"],["\u003cp\u003eThere are many previous versions available, going back to version 3.2.0, with 4.26.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows the public constructors for \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e and its inherited members.\u003c/p\u003e\n"]]],[],null,[]]