public sealed class AutomatedAgentConfig : IMessage<AutomatedAgentConfig>, IEquatable<AutomatedAgentConfig>, IDeepCloneable<AutomatedAgentConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 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\u003e\u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e is a class in the Google Cloud Dialogflow v2beta1 API, designed to define the automated agent that connects to a conversation.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating its integration within the Google Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgent\u003c/code\u003e property, which is required, specifies the ID of the Dialogflow agent environment in the formats for ES and CX agents, with the default being the \u003ccode\u003edraft\u003c/code\u003e environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAgentAsAgentName\u003c/code\u003e property provides a typed view of the agent resource name, and the \u003ccode\u003eSessionTtl\u003c/code\u003e property configures the lifetime of a Dialogflow session, up to a maximum of 1 day.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors, one default and one that takes in another \u003ccode\u003eAutomatedAgentConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]