public sealed class AutomatedAgentConfig : IMessage<AutomatedAgentConfig>, IEquatable<AutomatedAgentConfig>, IDeepCloneable<AutomatedAgentConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class AutomatedAgentConfig.
Defines the Automated Agent to connect to a conversation.
Implements
IMessageAutomatedAgentConfig, IEquatableAutomatedAgentConfig, IDeepCloneableAutomatedAgentConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
AutomatedAgentConfig()
public AutomatedAgentConfig()AutomatedAgentConfig(AutomatedAgentConfig)
public AutomatedAgentConfig(AutomatedAgentConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AutomatedAgentConfig |
Properties
Agent
public string Agent { get; set; }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 defaultdraftenvironment 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 defaultdraftenvironment is used.
| Property Value | |
|---|---|
| Type | Description |
string |
|
AgentAsAgentName
public AgentName AgentAsAgentName { get; set; }| Property Value | |
|---|---|
| Type | Description |
AgentName |
|
SessionTtl
public Duration SessionTtl { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|