Class AutomatedAgentConfig (3.7.0)

public sealed class AutomatedAgentConfig : IMessage<AutomatedAgentConfig>, IEquatable<AutomatedAgentConfig>, IDeepCloneable<AutomatedAgentConfig>, IBufferMessage, IMessage

Defines the Automated Agent to connect to a conversation.

Inheritance

Object > AutomatedAgentConfig

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

AutomatedAgentConfig()

public AutomatedAgentConfig()

AutomatedAgentConfig(AutomatedAgentConfig)

public AutomatedAgentConfig(AutomatedAgentConfig other)
Parameter
NameDescription
otherAutomatedAgentConfig

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/&lt;Environment ID or &apos;-&apos;>. 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/&lt;Agent ID>/environments/&lt;Environment ID or &apos;-&apos;>. If environment is not specified, the default draft environment is used.

Property Value
TypeDescription
String

AgentAsAgentName

public AgentName AgentAsAgentName { get; set; }

AgentName-typed view over the Agent resource name property.

Property Value
TypeDescription
AgentName