Class Agent (1.0.0)

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

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the conversation flows..

Inheritance

System.Object > Agent

Implements

Google.Protobuf.IMessage<Agent>, System.IEquatable<Agent>, Google.Protobuf.IDeepCloneable<Agent>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

Agent()

public Agent()

Agent(Agent)

public Agent(Agent other)
Parameter
NameDescription
otherAgent

Properties

AgentName

public AgentName AgentName { get; set; }

AgentName-typed view over the Name resource name property.

Property Value
TypeDescription
AgentName

AvatarUri

public string AvatarUri { get; set; }

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

Property Value
TypeDescription
System.String

DefaultLanguageCode

public string DefaultLanguageCode { get; set; }

Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.

Property Value
TypeDescription
System.String

Description

public string Description { get; set; }

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

Property Value
TypeDescription
System.String

DisplayName

public string DisplayName { get; set; }

Required. The human-readable name of the agent, unique within the location.

Property Value
TypeDescription
System.String

EnableSpellCorrection

public bool EnableSpellCorrection { get; set; }

Indicates if automatic spell correction is enabled in detect intent requests.

Property Value
TypeDescription
System.Boolean

EnableStackdriverLogging

public bool EnableStackdriverLogging { get; set; }

Indicates if stackdriver logging is enabled for the agent.

Property Value
TypeDescription
System.Boolean

Name

public string Name { get; set; }

The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>.

Property Value
TypeDescription
System.String

SpeechToTextSettings

public SpeechToTextSettings SpeechToTextSettings { get; set; }

Speech recognition related settings.

Property Value
TypeDescription
SpeechToTextSettings

StartFlow

public string StartFlow { get; set; }

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/flows/&lt;Flow ID>.

Property Value
TypeDescription
System.String

StartFlowAsFlowName

public FlowName StartFlowAsFlowName { get; set; }

FlowName-typed view over the StartFlow resource name property.

Property Value
TypeDescription
FlowName

TimeZone

public string TimeZone { get; set; }

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

Property Value
TypeDescription
System.String