Class SessionEntityType (1.13.0)

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

Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.

You can redefine a session entity type at the session level to extend or replace a [custom entity type][google.cloud.dialogflow.cx.v3.EntityType] at the user session level (we refer to the entity types defined at the agent level as "custom entity types").

Note: session entity types apply to all queries, regardless of the language.

For more information about entity types, see the Dialogflow documentation.

Inheritance

Object > SessionEntityType

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.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 to override or supplement the custom 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 the session entity type. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/sessions/&lt;Session ID>/entityTypes/&lt;Entity Type ID> or projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/environments/&lt;Environment ID>/sessions/&lt;Session ID>/entityTypes/&lt;Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

Property Value
TypeDescription
String

SessionEntityTypeName

public SessionEntityTypeName SessionEntityTypeName { get; set; }

SessionEntityTypeName-typed view over the Name resource name property.

Property Value
TypeDescription
SessionEntityTypeName