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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","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 for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e is 4.26.0, and the document includes links to versions ranging from 3.2.0 to 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e defines the configuration for connecting an automated agent to a conversation in Dialogflow, and it supports agent environments, including a default 'draft' environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgent\u003c/code\u003e property specifies the ID of the Dialogflow agent environment to use and the \u003ccode\u003eSessionTtl\u003c/code\u003e property allows configuring the lifetime of the Dialogflow session, up to 1 day.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it includes methods and properties related to agent configuration, such as \u003ccode\u003eAgentAsAgentName\u003c/code\u003e and constructors for creating instances.\u003c/p\u003e\n"]]],[],null,[]]