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 document provides reference information for the \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, spanning versions from 3.2.0 to 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class is used to define the automated agent that connects to a conversation, inheriting properties from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class include \u003ccode\u003eAgent\u003c/code\u003e, which is the required ID of the Dialogflow agent environment, and \u003ccode\u003eSessionTtl\u003c/code\u003e, which is the optional lifetime of the Dialogflow session.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgent\u003c/code\u003e property can be formatted for either ES or CX agents, with the default environment being 'draft' if none is specified.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors, one of which allows creating a copy of an existing \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e object, and other methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]