Class SessionEntityType (4.0.0)

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

A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes.

For more information, see the session entity guide.

Inheritance

System.Object > SessionEntityType

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SessionEntityType()

public SessionEntityType()

SessionEntityType(SessionEntityType)

public SessionEntityType(SessionEntityType other)
Parameter
NameDescription
otherSessionEntityType

Properties

Entities

public RepeatedField<EntityType.Types.Entity> Entities { get; }

Required. The collection of entities associated with this session entity type.

Property Value
TypeDescription
RepeatedField<EntityType.Types.Entity>

EntityOverrideMode

public SessionEntityType.Types.EntityOverrideMode EntityOverrideMode { get; set; }

Required. Indicates whether the additional data should override or supplement the custom entity type definition.

Property Value
TypeDescription
SessionEntityType.Types.EntityOverrideMode

Name

public string Name { get; set; }

Required. The unique identifier of this session entity type. Format: projects/{Project ID}/agent/sessions/{Session ID}/entityTypes/{Entity Type Display Name>, or projects/&lt;Project ID>/agent/environments/&lt;Environment ID>/users/&lt;User ID>/sessions/&lt;Session ID>/entityTypes/&lt;Entity Type Display Name>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

{Entity Type Display Name} must be the display name of an existing entity type in the same agent that will be overridden or supplemented.

Property Value
TypeDescription
String

SessionEntityTypeName

public SessionEntityTypeName SessionEntityTypeName { get; set; }

SessionEntityTypeName-typed view over the Name resource name property.

Property Value
TypeDescription
SessionEntityTypeName