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, spanning versions from 3.2.0 to the latest 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class defines how to connect an automated agent to a conversation, allowing configuration for Dialogflow agent environments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgent\u003c/code\u003e property allows setting the ID of the Dialogflow agent environment, specifying whether to use ES or CX agents, and its \u003ccode\u003eAgentAsAgentName\u003c/code\u003e property provides a typed view of the resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionTtl\u003c/code\u003e property allows optional configuration of the Dialogflow session's lifetime, with a default of 30 minutes and a maximum of 1 day.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for deep cloning and comparison of instances.\u003c/p\u003e\n"]]],[],null,[]]